[vtkusers] How to access raw data of a DICOM image?

Jothybasu Selvaraj jothybasu at gmail.com
Wed Nov 9 08:46:21 EST 2011


Look at here!

http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/IterateImageData

You should use GetScalarPointer<x,y,z)


Jothy

On 11/9/11, John Drescher <drescherjm at gmail.com> wrote:
>> I use vtkDICOMImageReader to read the dicom file, then I need to do some
>> work with the raw data. I have tried the
>> method reader->GetOutput()->GetScalarPointer();
>> but there are some problems.
>
> What problems?
>
> John
> _______________________________________________
> 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
>


-- 
Jothy



More information about the vtkusers mailing list