Hi, I need to measure a batch of images like the one inserted, on the dimensions of the double emulsions flowing in a microchannel. Using the 'particle analyser', i could measure the dimensions of an entire double emulsion, but not able to measure separately the two components of a double emulsion. Watershed segmentation does not fit in my request. Does anyone know how to measure x, y dimensions of the left region, right region and the entire emulsion as a whole? Thanks a lot, Shaohua |
Which plugin could figure out this problem?
|
In reply to this post by sm792
Shaohua,
To help you get started, here is a macro that will give you separate measures of the two components. Note that the dilation to 'thicken' the droplet edges may have reduced the dimensions of the interior particles in a way you do not like. You may want to add code or change it to account for that, perhaps by selecting the ROI of each interior particle, eroding (or dilating?) it by 1 iteration, and repeating analyze particles. run("Duplicate...", "title=a"); setAutoThreshold("Default"); //run("Threshold..."); setThreshold(0, 50); run("Convert to Mask"); // Black rings 255; white background (reaching edge) 0 // white interior of rings 0 run("BinaryDilate ", "coefficient=0 iterations=1 white"); // Thicker rings, but droplet at left now artificially // separated from edge - beware. run("Invert"); run("Analyze Particles...", "size=100-Infinity show=[Bare Outlines] display exclude summarize add"); Good luck. Charles -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of sm792 Sent: Sunday, February 01, 2015 7:13 AM To: [hidden email] Subject: droplet segmentation <http://imagej.1557.x6.nabble.com/file/n5011401/15.png> Hi, I need to measure a batch of images like the one inserted, on the dimensions of the double emulsions flowing in a microchannel. Using the 'particle analyser', i could measure the dimensions of an entire double emulsion, but not able to measure separately the two components of a double emulsion. Watershed segmentation does not fit in my request. Does anyone know how to measure x, y dimensions of the left region, right region and the entire emulsion as a whole? Thanks a lot, Shaohua -- View this message in context: http://imagej.1557.x6.nabble.com/droplet-segmentation-tp5011401.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 |
Works fine. That’s a lot. Shaohua,
To help you get started, here is a macro that will give you separate measures of the two components. Note that the dilation to 'thicken' the droplet edges may have reduced the dimensions of the interior particles in a way you do not like. You may want to add code or change it to account for that, perhaps by selecting the ROI of each interior particle, eroding (or dilating?) it by 1 iteration, and repeating analyze particles. run("Duplicate...", "title=a"); setAutoThreshold("Default"); //run("Threshold..."); setThreshold(0, 50); run("Convert to Mask"); // Black rings 255; white background (reaching edge) 0 // white interior of rings 0 run("BinaryDilate ", "coefficient=0 iterations=1 white"); // Thicker rings, but droplet at left now artificially // separated from edge - beware. run("Invert"); run("Analyze Particles...", "size=100-Infinity show=[Bare Outlines] display exclude summarize add"); Good luck. Charles -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of sm792 Sent: Sunday, February 01, 2015 7:13 AM To: [hidden email] Subject: droplet segmentation <http://imagej.1557.x6.nabble.com/file/n5011401/15.png> Hi, I need to measure a batch of images like the one inserted, on the dimensions of the double emulsions flowing in a microchannel. Using the 'particle analyser', i could measure the dimensions of an entire double emulsion, but not able to measure separately the two components of a double emulsion. Watershed segmentation does not fit in my request. Does anyone know how to measure x, y dimensions of the left region, right region and the entire emulsion as a whole? Thanks a lot, Shaohua -- View this message in context: http://imagej.1557.x6.nabble.com/droplet-segmentation-tp5011401.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/droplet-segmentation-tp5011401p5011413.html
|
Free forum by Nabble | Edit this page |