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: http://imagej.1557.x6.nabble.com/objects-wit-distinct-grey-values-outline-tp5005533.html > 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 If you reply to this email, your message will be added to the discussion below: http://imagej.1557.x6.nabble.com/objects-wit-distinct-grey-values-outline-tp5005533p5005535.html To unsubscribe from objects wit distinct grey values-outline?, click here. NAML