[vtkusers] exporting stencil output as binary mask

Anja Ende anja.ende at googlemail.com
Fri Oct 27 05:43:11 EDT 2006


Hi everyone,

I finally got the vtkImageStencil working the way I wanted it.

Now, what I want to do is have the stencil output a binary image which I
want to use as a mask later.

Right now, the stencilled region, of course, has all the gray values
associated with that image region. Is it possible to tell the stencil to
output a binary image?

I think another function is needed there like SetForegroundValue()

Thanks for any help you can give me.

Cheers,

Anja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061027/6785ce1b/attachment.htm>


More information about the vtkusers mailing list