Login  Register

Find connected regions 3D / Flood filling 3D from seed region

Posted by Djoere Gaublomme on Oct 01, 2014; 8:54am
URL: http://imagej.273.s1.nabble.com/Find-connected-regions-3D-Flood-filling-3D-from-seed-region-tp5009839.html

Hi,

I want to perform an action on a large 3D image stack (8-bit  
grayscale, approximately 800x800x800 and 500 MB).
The action I want to do is to start from a selected ROI (preferably  
based on a separate Mask image) and find all neighbouring voxels with  
the same gray values (for clarification: I only want to select voxels  
that have the same gray value as a selected neighbouring voxel).  It  
does not matter whether gray value information is retained in the  
resulting image or not.

For now, the only solution I found was to add an object to the 3D  
Manager from the Mask image, then put this selection on the grayscale  
stack and run "Find Connected Regions"
[http://www.longair.net/edinburgh/imagej/find-connected-regions/ ,  
with the following parameters : run("Find Connected Regions", "  
display_one_image display_results regions_must  
regions_for_values_over=1 minimum_number_of_points=1 stop_after=-1"); ]

However, this takes forever to process, so I am wondering if there is  
a faster alternative (and preferably one that is macro-friendly).
I have tried Flood Fill (3D), but this does not appear to work with a  
seed region.

Thanks in advance!

Djoere

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