[ITK-users] format of mask file

Matt McCormick matt.mccormick at kitware.com
Wed Sep 24 14:14:38 EDT 2014


Hi Lianli,

Any integer pixel type should work in the mask.  To check how the mask
applies to the image, the MaskImageFilter [1] can be applied.

HTH,
Matt

[1] http://www.itk.org/Doxygen/html/classitk_1_1MaskImageFilter.html

On Tue, Sep 23, 2014 at 9:51 PM, Lianli Liu <llliu at umich.edu> wrote:
> Hi all,
>
> I am a bit unclear about the format of mask file. Is it fine if I use an
> image of analyze format that has 0,1 value, but of integer type not boolean
> type?
>
> The reason I am asking is that when I use this mask in the mutual
> information metric, there is an error : joint PDF summed to zero...
>
> Thanks!
> Lianli
>
> _____________________________________
> 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://public.kitware.com/mailman/listinfo/insight-users
>


More information about the Insight-users mailing list