[vtkusers] vtkImageReader vs. itkImageFileReader

Wagner Sales wsalles2003 at yahoo.com.br
Tue Jun 7 15:20:59 EDT 2005

Hi Isabelle,

I'm currently using ITK and VTK. Since you'll needs a pipeline to 
convert images and between ITK / VTK, and, of course, take care about 
the images contents in both sides by using correctly the pipeline.
Then, I think the correct approach are ask: How the next step after read 
this image? If you'll needs to permorm processing image operations ( 
such threshold, segmentantion, etc, wich are performed by using ITK 
filters ) I think the better approach are read the images using ITK. 
Then, if you needs to perform the visualization operations, convert 
using a pipeline to a VTK image.
You'll needs to keep in mind the file formats. I think that's some are 
supported by ITK, others by VTK and others by both.
In VTK Faq you can see all formats: http://www.vtk.org/Wiki/VTK_FAQ
In ITK Faq, the same to ITK: http://www.itk.org/Wiki/Itk_FAQ
If one fastest that's other, really I don't know.
If you don't now about the pipelines, the InsigthApplications have nice 
examples at Auxiliary/vtk. You'll will found a good helper class to 
avoid the pipeline ITK<->VTK implemmentation.
And, of course, the Wiki pages are good place to give more documentation 
and examples: http://www.itk.org/Wiki, http://www.vtk.org/Wiki.

I hope that's help.

Wagner Sales

Renaud Isabelle wrote:

> Hi,
> I'm using ITK and *itkImageFileReader* to read a raw image and *VTK* 
> to visualize it.
> - However, I find out recently that we can use *vtkImageReader* to 
> read raw image. What is the difference between the both methods? What 
> is more efficient or maybe more fast, what is worth it?
> - Is there a place where I can see some information to that kind of 
> questions: book, web site or any documentation available?
> Please answer
> Isabelle
> ------------------------------------------------------------------------
> Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos 
> mails, photos et vidéos !
> Créez votre Yahoo! Mail 
> <http://us.rd.yahoo.com/mail_fr/mail_campaigns/splash/taglines_1go/default/*http://fr.promotions.yahoo.com/mail/creer28.html> 
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>Follow this link to subscribe/unsubscribe:

More information about the vtkusers mailing list