[Insight-users] ITK to VTK Convertion Error

Abayiz abayiz at yahoo.com
Tue May 24 06:39:21 EDT 2011



--- On Tue, 5/24/11, Abayiz <abayiz at yahoo.com> wrote:

> From: Abayiz <abayiz at yahoo.com>
> Subject: Re: [Insight-users] ITK to VTK Convertion Error
> To: "Luis Ibanez" <luis.ibanez at kitware.com>
> Date: Tuesday, May 24, 2011, 5:38 AM
> Hi Luis,
> 
> Thank you again for your reply. 
> 
> The slices seem to be in a random order after conversion.
> But, not exactly random, since after each and every randomly
> ordered ten slices, the eleventh slice is seem to be in a
> correct manner. For instance, the correct first slice goes
> to the eleventh slice after conversion, the correct second
> slice goes to 22th,etc, between which other random slices
> are placed.  
> 
> I actually added some images of this problem in my previous
> email yesterday, but not sent successfully due to the
> attachment size limit. 
> 
> Hope this could be helpful to get your suggestions again.
> Thank you. 
> 
> Best,
> Abayiz 
> 
> --- On Sun, 5/22/11, Luis Ibanez <luis.ibanez at kitware.com>
> wrote:
> 
> > From: Luis Ibanez <luis.ibanez at kitware.com>
> > Subject: Re: [Insight-users] ITK to VTK Convertion
> Error
> > To: "Abayiz" <abayiz at yahoo.com>
> > Cc: insight-users at itk.org
> > Date: Sunday, May 22, 2011, 5:46 PM
> > Hi Abayiz,
> > 
> > What *exactly* is different about the slices
> > sequence when you convert from VTK to ITK ?
> > 
> > Are they in random order ?
> > 
> > Are they up-side down ?
> > if so, is this along Z ? Y ?
> > 
> > 
> > Please be more specific.
> > or provide a screenshot.
> > 
> >     Thanks
> > 
> > 
> >            Luis
> > 
> > 
> > -------------------------------------------
> > On Sun, May 22, 2011 at 11:27 AM, Abayiz <abayiz at yahoo.com>
> > wrote:
> > > Hi Luis,
> > >
> > > Thank you very much for your answer.
> > >
> > > The problem is, if I use VTK to load dicom, and
> view
> > it also using VTK, everything is fine. But after I
> converted
> > it to ITK, then the sequence problem comes.  after
> > conversion from VTK to ITK, the dicom slices are
> totally not
> > in the correct sequence. Any suggestions?
> > >
> > > Thanks again.
> > >
> > > Abayiz
> > >
> > > --- On Sat, 5/21/11, Luis Ibanez <luis.ibanez at kitware.com>
> > wrote:
> > >
> > >> From: Luis Ibanez <luis.ibanez at kitware.com>
> > >> Subject: Re: [Insight-users] ITK to VTK
> Convertion
> > Error
> > >> To: "Abayiz" <abayiz at yahoo.com>
> > >> Cc: insight-users at itk.org
> > >> Date: Saturday, May 21, 2011, 1:08 PM
> > >> Hi Abayiz,
> > >>
> > >>
> > >> Can you describe the distortion ?
> > >>
> > >> Maybe post a screenshot ?
> > >>
> > >> Note that VTK images do not have
> > >> a explicit representation of Orientation,
> > >> so the information about the DICOM
> > >> direction matrix gets lost when you use
> > >> VTK for reading the DICOM images.
> > >>
> > >> You may find better to use the ITK GDCM
> > >> reader in order to load the DICOM images.
> > >>
> > >>
> > >>      Luis
> > >>
> > >>
> > >> ---------------------------
> > >> On Fri, May 20, 2011 at 10:03 AM, Abayiz
> <abayiz at yahoo.com>
> > >> wrote:
> > >> > Hello all,
> > >> >
> > >> > I am using a vtk-based dicom loader to
> load
> > dicom
> > >> series, and then use ITK to perform
> registration.
> > But I
> > >> found that when I try to convert from VTK to
> ITK,
> > it is not
> > >> working correctly, i.e., the dicom file
> orders
> > are
> > >> distorted, not the same as before
> conversion.
> > >> >
> > >> > I doubt itkVTKImagetoImageFilter is not
> > working quite
> > >> well with dicom files, since the same files
> can be
> > read
> > >> quite well using only itk-based loader. Am I
> > right? How can
> > >> I work this out?
> > >> >
> > >> > Many thanks in advance!
> > >> >
> > >> > Abayiz
> > >> > _____________________________________
> > >> > Powered by www.kitware.com
> > >> >
> > >> > Visit other Kitware open-source projects
> at
> > >> > http://www.kitware.com/opensource/opensource.html
> > >> >
> > >> > Kitware offers ITK Training Courses,
> for
> > more
> > >> information visit:
> > >> > http://www.kitware.com/products/protraining.html
> > >> >
> > >> > Please keep messages on-topic and check
> the
> > ITK FAQ
> > >> at:
> > >> > http://www.itk.org/Wiki/ITK_FAQ
> > >> >
> > >> > Follow this link to
> subscribe/unsubscribe:
> > >> > http://www.itk.org/mailman/listinfo/insight-users
> > >> >
> > >>
> > >
> > >
> >
> 


More information about the Insight-users mailing list