[vtkusers] how to store label fields

Bill Lorensen bill.lorensen at gmail.com
Wed Jul 1 12:19:37 EDT 2009

I you want to contour the labels you can use vtkDiscreteMarchingCubes.

On Wed, Jul 1, 2009 at 12:07 PM, Dominik Szczerba<dominik at itis.ethz.ch> wrote:
> When storing my label field as imagedata I get unwanted interpolation if
> I e.g. cut through the volume. Switching the interpolation off results
> in funny bad looking triangles. What's the best/intended/practiced way
> of storing (integer) label fields? Image data is point centered while
> label fields are clearly cell centered. As I see the only alternative is
> StructuredGrid, but functions like contouring or resampling require
> point data anyway. So what's better: store my labels as image (point)
> data and compromise display (unwanted interpolation) or go for
> structured grid and compromise size of the file and needed conversions
> to image data anyway?
> -- Dominik
> _______________________________________________
> 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