Dear all,
I have objects in a segemented image, each of them having a distinct grey level (see images below): How do I get them outlined individually. Thanks so much for any sugegstion. Regards Matthias |
Hi Matthias,
assuming your grey level image is 8-bit, you could run something like the following macro: for (i=0;i<256;i++) { setThreshold(i, i); run("Create Selection"); if (selectionType>0){ roiManager("Add"); run ("Select None"); } } Sincerely, Jerome On 11 November 2013 18:45, Matthias Kirsch <[hidden email]> wrote: > > Dear all, > > I have objects in a segemented image, each of them having a distinct grey > level (see images below): How do I get them outlined individually. > Thanks so much for any sugegstion. > Regards > Matthias <http://imagej.1557.x6.nabble.com/file/n5005533/color.jpg> > <http://imagej.1557.x6.nabble.com/file/n5005533/grey.jpg> > > > > -- > View this message in context: > Sent from the ImageJ mailing list archive at Nabble.com. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jerome,
thank you so much! Regards Matthias Am 11.11.2013 21:12, schrieb Jerome Mutterer-3 [via ImageJ]: Hi Matthias, |
Free forum by Nabble | Edit this page |