Changing the scalar value of a region

Ron Inbar rinbar at
Thu Aug 12 09:35:38 EDT 1999

> You can use vtkPolyDataConnectivity after the marching-cubes filter
> to select which surface you want.

Due to subsampling the surfaces tend to stick to each other, and I don't
think I can separate them with vtkPolyDataConnectivity.  In the original
images, however, the lungs are supposed to be clearly separated from the
outside of the body.

> There is also the filter vtkImageSeedConnectivity, but unfortunately it
> only works with binary/unsigned-char data.  What you suggest is possible:
> reader
>   |      |
>   |    vtkImageThreshold (threshold higher than iso value)
>   |      |
>   |    vtkImageSeedConnectivity
>   |      |
> vtkImageMask
>         |
> vtkContourFilter
> ...

Thanks, I'll try that!



This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list