GLCM code result in Artificial Neural Network(ANN) is bad . Why can it be?

2 views (last 30 days)
I have mammogram image. I am making segmentation for detecting tumor firstly and then I am using glcm codes for feature extraction process on that tumor. Codes are working but ANN result is so bad.
I tried also in matlab own ANN application , the result is bad also there. What can be wrong or is there any else code to give good result ?
GLCM function is added to attachment and working code is in here .
I=imread('iamge.jpg');
I=rgb2gray(I);
GLCM2 = graycomatrix(I,'Offset',[2 0;0 2;-2 0;-2 2]);
stats1a = GLCM_Features4(GLCM2,0);
stats1=struct2array(stats1a);

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!