I just checked that PV from CVS addresses exactly this issue, so I am apparently not alone in my considerations. PV 3.4 will load a label field and interpolate the colors when viewing slices (thus destroying the image). PV CVS ignores interpolation settings and displays my labels correctly (without interpolation). So I assume somebody realized the problem recently too and corrected it. So I conclude that ImageData is still the right choice for discrete label fields (and not StructuredGrid), but one has to rely on the latest version. Please correct me if I am wrong.
-- Dominik On Wed, 2009-07-01 at 18:07 +0200, Dominik Szczerba 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 > _______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
