Login  Register

histogramming pixels on a contour

Posted by Neil Fazel on Feb 03, 2014; 7:45pm
URL: http://imagej.273.s1.nabble.com/histogramming-pixels-on-a-contour-tp5006381.html

I was wondering if it's possible to histogram the pixels on an ROI created by the Contour Plotter plugin.

I can create an array of the pixel values using getSelectionCoordinates() in a macro, but unfortunately there's no function Array.getHistogram(); and the function getHistogram() works with pixels inside a selection not on its contour.

Thanks for any suggestions.

Neil

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html