Info

This question is closed. Reopen it to edit or answer.

I need to find the pixel count for the max intensity value of an image ie i want to know the exact value on the x axis of the histogram generated with imhist for a known y value is there a code to do this?

1 view (last 30 days)
this is the code I have [filename,pathname]=uigetfile('CellImage1.jpg','Select the image'); A= imread(fullfile(pathname,filename), 'jpg'); imshow(A); J = imcrop(A,[300 0 110 550]); imshow(J) imhist(J) mean(J(:))

Answers (1)

Prajit T R
Prajit T R on 9 Apr 2018

This question is closed.

Community Treasure Hunt

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

Start Hunting!