<< ann_imgcrop Utilities_Functions ann_imgpreprocess >>

NeuralNet >> Utilities_Functions > ann_imgfeatures

ann_imgfeatures

Image pre-processing function to extract features from binary image

Calling Sequence

lett = ann_imgfeatures(bw2)

Parameters

bw2 :

Input binary image

img :

Output features

Description

This function will take the binary image and change it to 5 x 7 matrix, before converting it into single vector of 35 values.

Examples

I = imread(ann_getToolboxPath()+'demos\handwritting.bmp');
imshow(I);
img = ann_imgpreprocess(I);
I_feature = ann_imgfeatures(img(2).entries);
figure();
plotchar(I_feature);

See also

Authors


Report an issue
<< ann_imgcrop Utilities_Functions ann_imgpreprocess >>