[vtkusers] Oblique slice of 3D image data

Jothy jothybasu at gmail.com
Tue Sep 20 07:50:07 EDT 2011


I would recommed vtkImageReslice to cut the imageData and to use
vtkImagemapToColors with appropriate vtkLookUpTable , then map your data.

Jothy

On Tue, Sep 20, 2011 at 12:40 PM, Tijmen Klein <T.R.Klein at student.rug.nl>wrote:

> I'm currently lost on this one. I have some 3D scalar image data, and want
> to extract and display a 2D slice/cut from this. The origin and normal of
> the cutting plane are obtained externally. So I construct a vtkPlane with
> this information, and then apply this pipeline:
>
> vtkStructuredPointsReader -> vtkCutter (with vtkPlane as the cut function)
> -> vtkPolyDataMapper -> vtkActor
>
> However, the colors that are shown on the plane don't seem to be accurate.
> When I create a slice in Paraview of the same data, the colors on the plane
> look completely different. Is this because Paraview uses a textured plane
> for this? If so, how can I get this in VTK? I've looked at
> the vtkImageReslice, but it does not really seem to be handy when you work
> with an external normal and origin?
>
> Cheers,
> Tijmen
>
> _______________________________________________
> 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
>
>


-- 
Jothybasu K Selvaraj
PhD Student
University of Liverpool
Liverpool,UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110920/2becf580/attachment.htm>


More information about the vtkusers mailing list