hello problem with homogeneity and energy of images ?

1 view (last 30 days)
hi when i compute homogeneity and energy of images the result is very small 1.9^-20 can you help me to normalize these small values ??? i want to normalize 'statistvector' element any help pleas !!??? this is the code i used
<<<<<<<<<<<<<<<<<<<<<<<<
im=imread('a.jpg');
grayim=rgb2gray(im);
%Contrast AND Correlation AND Energy AND Homogeneity
struct=graycoprops(double(grayim));
Contrast1=struct.Contrast;
Correlation1=struct.Contrast;
Energy1=struct.Energy;
Homogeneity1=struct.Homogeneity;
statistvector=[Homogeneity1,Energy1,Correlation1,Contrast1];

Answers (0)

Community Treasure Hunt

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

Start Hunting!