[vtkusers] creating an image using several masks
sigmunau at idi.ntnu.no
sigmunau at idi.ntnu.no
Sun Nov 14 08:27:27 EST 2004
Hi.
I have two binary masks and an input image and I want to create an output
image like this:
if mask1 == 0 and mask2 == 0:
output = 0
if mask1 == 1 and mask2 == 0:
output = input
if mask1 == 1 and mask2 == 1:
output = MAX_VALUE
is there and easy way to implement something like this in vtk? Do I have to
implement my own filter, and if so, what is a good filter to take a look at?
I looked at vtkBlendImage but it seems to take one input at a time into
account, so it doesn't fit my needs.
Thanks for any answer
Sigmund Augdal
More information about the vtkusers
mailing list