[Insight-users] to compare binary images

Luis Ibanez luis.ibanez at kitware.com
Tue Jul 6 20:34:07 EDT 2004


Hi David,

You may probably want to use the AND image filter

http://www.itk.org/Insight/Doxygen/html/classitk_1_1AndImageFilter.html

The output of this filter will give you the pixels
that are ON in both of the input images.


Regards,


    Luis


----------------------
David Llanos wrote:

> Hi all,
>  
> I am trying to compare two binary images pixel to pixel to obtain a 
> third image that contains common pixels. To explain to it better 
> assistant three images: the main ones, a.png and b.png, with those that 
> I want to obtain the image, c.png. This way, c.png has to have the 
> pixels of the image b.png that are in the image a.png.
>  
> Thanks in advange and regards.
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users





More information about the Insight-users mailing list