[vtkusers] Convert to binary image

Li, Wen wen-li at uiowa.edu
Thu Apr 26 17:05:13 EDT 2012


Hi, are you willing to try to use ITK? they have good filters there (such as itkBinaryThresholdImageFilter). 
I usually don't process 3D images in VTK but I guess you still can.

Wen

On Apr 26, 2012, at 3:59 PM, bberkowi wrote:

> Hi, I'm trying to convert an image volume I have to binary values.  I would
> like all positive values to be 0 and all negative values to be 1.  
> 
> I've only worked with 3D poly data so far, and I don't have any experience
> with image volumes.  Does anyone have any experience with either
> pixel-by-pixel operations, or applying a logic condition over an entire
> image?
> 
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Convert-to-binary-image-tp5668642p5668642.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list