<div>Hi all,</div><div><br></div><div>I have an image with the lungs lobes segmented and I want to do an erode on each separate lobe . Is there any way to apply a filter in different regions (not rectangular) of an image or a label image?.</div>
<div>Another way could be to create two images each one with a lobe, from a itk::LabelMapToBinaryImageFilter, and then apply a erode filter, but I don't know how join the output images from these filters into another image with the initial size and without overlap. Any suggestions?</div>
<div><br></div><div>Thank you. Best regards.</div>