Image pre-processing function to extract features from binary image
lett = ann_imgfeatures(bw2)
Input binary image
Output features
This function will take the binary image and change it to 5 x 7 matrix, before converting it into single vector of 35 values.
I = imread(ann_getToolboxPath()+'demos\handwritting.bmp'); imshow(I); img = ann_imgpreprocess(I); I_feature = ann_imgfeatures(img(2).entries); figure(); plotchar(I_feature); | ![]() | ![]() |