<div dir="ltr"><div style><font><font face="verdana,sans-serif">I have an image and n points</font></font><span style="font-family:verdana,sans-serif"> </span><span style="font-family:verdana,sans-serif">(n small, 5-20). I want to calculate influence area of each point. Each voxel in an image can be influenced by at most 1 point, by closest point if distance to it is less then let's say 50mm, otherwise it is not influenced by any point.</span></div>
<div style><span style="font-family:verdana,sans-serif"><br></span></div><font><font face="verdana,sans-serif">I thought I could do this by clearing the image, labeling the n points with numbers 1-n, and then using DilateImageFilter, if it can somehow handle this case. Perhaps do it in steps: dilate by a small amount (5mm). See attached images.</font></font><div>
<font><font face="verdana,sans-serif"><br></font></font></div><div style><font><font face="verdana,sans-serif">Is there something like multi-label dilation image filter? Or does gray-scale dilation filter does this? How about </font></font><font face="verdana, sans-serif">PadLabelMapFilter? </font><span style="font-family:verdana,sans-serif">Or would it even be faster and more convenient to iterate</span><span style="font-family:verdana,sans-serif"> through all the voxels, calculate distances to all n points and then deduce to which point the given voxel belongs, if any?</span></div>
</div>