how i implement this entropy formula(PNG file atached) in matlab code
my X is Column c in xlsx file(attached) i want to find for 1000 value
Best Answer
You can try entropy() or entropyfilt() in the Image Processing Toolbox, if you have it. entropyfilt() does a sliding window computation of entropy whereas entropy does it for the whole array.
REad about imdistline; this will allow you to calculate the distance between the points interactively. For this you are supposed to have image toolbox.
[y,x] = find(I==1) ; % give the pixel value
The above line, gives you the coordinates/ points of the required pixel. YOu have the points in hand, you can do the process needed.
Best Answer