Hi everyone,<br><br>I finally got the vtkImageStencil working the way I wanted it.<br><br>Now, what I want to do is have the stencil output a binary image which I want to use as a mask later.<br><br>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?
<br><br>I think another function is needed there like SetForegroundValue()<br><br>Thanks for any help you can give me.<br><br>Cheers,<br><br>Anja