[vtkusers] again DICOM, how to read the data?

Peter F Bradshaw pfb at exadios.com
Tue Sep 11 12:04:17 EDT 2007


Hi Mauro;

On Tue, 11 Sep 2007, mauro maiorca wrote:

> Hi Amy,
> got it, thanks for the clear explanation!
>
> the problem arises even before the Delete, actually here:
>
> > tmpImage = reader->GetOutput();
>
> by the way, what I'm trying to do, is to have a MxNxZ matrix with the
> voxels of the 3d image in order to process them directly before
> displaying!
> it supposed to be the easiest thing ever, but I'm driving crazy to
> understand how to point to such data! Do you have any hint?

A vtkImageData object can represent a voxel data set.

I assume that you are using dicom2 to convert the DICOM files. There is
a proceedure for reading the resultant raw files into a vtkImageData at:

http://www.barre.nom.fr/medical/dicom2/how-to.html#Convert%20to%20raw

This may get you started.

>
> cheers,
> Mauro
>

Cheers

-- 
Peter F Bradshaw: http://www.exadios.com (public keys avaliable there).
Personal site: http://personal.exadios.com
"I love truth, and the way the government still uses it occasionally to
 keep us guessing." - Sam Kekovich.



More information about the vtkusers mailing list