[vtkusers] logical operations between binary images

Charl Botha c.p.botha at tudelft.nl
Tue Oct 2 05:07:54 EDT 2007


On 10/2/07, annelaure <al_didier at yahoo.fr> wrote:
> I'd like to obtain an image (.raw) which is the substraction of 2 others
> binary images. For example :
> Final_Image=Binary_Initial_Image - Binary_Image2
> thus, I will be able to have the lungs segmentation. Is it possible to do
> this sort of things with vtk or itk?

In VTK, you can try vtkImageMask or perhaps vtkImageMathematics.



More information about the vtkusers mailing list