MATLAB: I want to extract information within 150-200. How can it be done???? Thanks in advance….. :)

extracting data from histogramImage Processing Toolbox

c=imread('4.png'); imshow(c); c=rgb2gray(c); imshow(c); imhist(c)

Best Answer

This may do what you want:
[counts,binLocations] = imhist(c);
histinfo = counts(150:200);