<html><head></head><body>Hi Anna,<br><br>assuming you're working with binary images, you could
invert the image and remove the largest component (using
ConnectedComponentImageFilter and RelabelComponentImageFilter). This
will be the background of the image, if it is connected and large
enough. The other objects in the image will then correspond to the empty
spaces you are trying to find.<br>Note, that the holes must not be conntected with the background for this method to work.<br><br><br>HTH<br>Dominique <br><br><table width="100%"><tbody><tr><td bgcolor="blue" width="5"> </td><td>
<div>Hi,</div>
<div>I would like to find the empty spaces in my volume but I don't know if there is any itk filter that I can use for this purpose.</div>
<div>Does any one know how can I do that? </div>
<div> </div>
<div>Thank you </div>
<div> </div>
<div>Thanks</div>
<div>Anna</div>
</td></tr></tbody></table></body></html>