[vtkusers] loading a vtkImageData correctly
Mark Wyszomierski
markww at gmail.com
Thu Mar 8 11:51:54 EST 2007
Ah I just found a quick example of using vtkDICOMImageReader to read a
series of images to create a volume - this method would be much more
preferable than writing my own code to do it (leave it to the
experts).
I'll give it a try now, thanks again.
Mark
On 3/8/07, Mark Wyszomierski <markww at gmail.com> wrote:
> Hi Mathieu,
>
> First off - thanks for replying. I took a look at the
> vtkDICOMImageReader class - it looks like it only reads a single image
> - is there any class that handles reading an entire series and then
> orders them 'correctly' based on IPP + IOP?
>
> I read through the other links you posted but it will take me a few
> more reads to understand the right way to figure out the ordering
> using IPP + IOP,
>
> Thanks,
> Mark
>
> On 3/8/07, Mathieu Malaterre <mathieu.malaterre at kitware.com> wrote:
> > Mark Wyszomierski wrote:
> > > Hi,
> > >
> > > I have two axial studies - one scanned from head to foot, the other
> > > scanned from foot to head.
> > >
> > > What can I do to load each study correctly into a vtkImageData?
> > > Previously I was simply loading them in a slice at a time based on
> > > instance number, but this fails miserably for the study which was
> > > scanned head to foot (the volume comes out backwards).
> >
> >
> > Hi Mark,
> >
> >
> > See my answer to your post in dicom newsgroup. I would also suggest
> > you have a look at what is being done in vtkDICOMImageReader. This is
> > exactly the same idea, you order IPP along the normal (computed using IOP).
> >
> > HTH
> > -Mathieu
> >
>
More information about the vtkusers
mailing list