MATLAB: Entropy ROI

random area entropy select square

How to calculate the entropy of the ROI of an image ?

Best Answer

Copy the points within the ROI in to vector and calculate the entropy of the vector. (With practice and logical indexing you will find it is not necessary to do the copying explicitly.)
Related Question