Hello,<br><br>I would like to take an image, crop it to its nonzero content, perform some filtering, then zero pad the image back to its original dimensions. So far, I am able to compute the bounding box with a mask spatial object doing something like this:<br>
<br>RegionType boundingBoxRegion = m_MaskSO->GetAxisAlignedBoundingBoxRegion();<br><br> but I don't know where to go from here. I'm relatively new to ITK. Thanks for your help.<br><br>Alex<br>