Hello
I have an image with several ROI (all black pixels). I would like to assemble the ROI that are close (less than 10 pixels, for example). The objective is to calculate area. An example in the picture below: left the original image, right what I want. Thank you for your propositions (macro or plugin ?). Marc |
Dear Mdidish,
Not sure this will work for all your images but on your example this works more or less. run("Make Binary"); run("Options...", "iterations=12 count=1 edm=Overwrite do=Nothing"); run("Dilate"); run("Erode"); Best wishes Kees Dr Ir K.R. Straatman Senior Experimental Officer Centre for Core Biotechnology Services University of Leicester http://www.le.ac.uk/biochem/microscopy/home.html -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of mdidish Sent: 30 July 2013 17:56 To: [hidden email] Subject: create a surface from points Hello I have an image with several ROI (all black pixels). I would like to assemble the ROI that are close (less than 10 pixels, for example). The objective is to calculate area. An example in the picture below: left the original image, right what I want. Thank you for your propositions (macro or plugin ?). Marc <http://imagej.1557.x6.nabble.com/file/n5004218/test.jpg> -- View this message in context: http://imagej.1557.x6.nabble.com/create-a-surface-from-points-tp5004218.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 |
Thank you for your response. Indeed I use this way through function
process>binary>close, but I fails to specify "X" pixels
through the number of iterations.
Marc Le 31/07/2013 10:27, Straatman, Kees R. (Dr.) [via ImageJ] a écrit : Dear Mdidish, |
Free forum by Nabble | Edit this page |