[Insight-users] auto crop image

Dan Mueller dan.muel at gmail.com
Sun Sep 22 19:35:59 EDT 2013


Hi Anja,

You might want to try the AutoCropLabelMapImageFilter:
http://www.itk.org/Doxygen/html/classitk_1_1AutoCropLabelMapFilter.html

HTH

Cheers, Dan

On 23 September 2013 05:16, Anja Ende <anja.ende at googlemail.com> wrote:
> Hello,
>
> Is there a way to auto crop an image along a particular dimension in ITK.
> So, basically I want to remove all the zero value background rows in an
> image and adjust the image origin accordingly according to the removed rows.
>
> Is there an easy way to do this in ITK? Sort of like an auto crop filter?
>
> Thanks for your help.
>
> Cheers,
>
> Anja
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list