create a surface from points

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

create a surface from points

mdidish
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

Reply | Threaded
Open this post in threaded view
|

Re: create a surface from points

Krs5
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
Reply | Threaded
Open this post in threaded view
|

Re: create a surface from points

mdidish
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,

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



If you reply to this email, your message will be added to the discussion below:
http://imagej.1557.x6.nabble.com/create-a-surface-from-points-tp5004218p5004226.html
To unsubscribe from create a surface from points, click here.
NAML