Re: Disjoint ROI selection using macro language
Posted by Michael Schmid on
URL: http://imagej.273.s1.nabble.com/Disjoint-ROI-selection-using-macro-language-tp3692854p3692870.html
Hi Ben,
just a short remark:
If you want to combine particles closer than a given distance, create
a mask and dilate it. If you use the Process>Filters>Maximum for
dilating, it won't be a square but a circular kernel.
For large distances, thresholding the distance map of the inverted
mask will be faster than 'max'. Set the threshold range to 0...radius.
Michael
________________________________________________________________
On 17 Apr 2009, at 15:02, Ben Tupper wrote:
> In case you are interested, I want to determine the smallest
> distance between particle perimeters - if two or more are close
> enough then I want to consider them a single object (like a chain
> of pearls). I think this macro ...