Login  Register

Voronoi plugin not adjusted

Posted by Adrián Villalba on Feb 08, 2018; 4:08pm
URL: http://imagej.273.s1.nabble.com/Voronoi-plugin-not-adjusted-tp5020029.html

Dear all,

Thank you all for your help. I am trying to perform Voronoi - using the
DelaunayVoronoi plugin in Plugin>Analyze) to calculte (aproximately) the
area of positive staining in each cell.

I used a homemade macro:

run("Duplicate...", " ");
title = getTitle();
run("Split Channels");

selectWindow(title+" (green)");
// process the green channel;
setAutoThreshold("Moments dark");
//run("Threshold...");
//setThreshold(69, 255);
setOption("BlackBackground", false);
run("Convert to Mask");
run("Close-");
run("Fill Holes");
run("Dilate");
run("Remove Outliers...", "radius=50 threshold=50 which=Bright");
run("Create Selection");


selectWindow(title+" (blue)");
// process the blue channel;
run("Restore Selection");
run("Unsharp Mask...", "radius=5 mask=0.90");
run("Remove Outliers...", "radius=3 threshold=2 which=Bright");
run("Find Maxima...", "noise=50 output=[Maxima Within Tolerance]");
run("Delaunay Voronoi", "mode=Voronoi interactive");
run("Close-");
run("Fill Holes");
run("Watershed");
run("Find Maxima...", "noise=1 output=[Point Selection] light");
run("Delaunay Voronoi", "mode=Voronoi interactive");


The point is that the surrounding nuclei of my section has a Voronoi area
to the boundaries of the image and i only want to perform that in the
green-positive selection. I can not restore in the same image the find
maxima output to locate the nuclei and the selection i previously used in
my green channel. Does anyone know how can i apply Voronoi with my
selection boundaries instead of performing Voroni to the whole picture? And
if it is possible, how can i measure the area of each Voronoi-region?

Thank you in advance!


--

   - Adrián Villalba Felipe.
   https://es.linkedin.com/in/adrianvillalba

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

input_Voronoi.tif (2M) Download Attachment
Voronoi output.tif (19K) Download Attachment