[vtkusers] Creating new vtkImageSources

Dubois, John R (MED) John.Dubois at med.ge.com
Thu Sep 18 14:13:35 EDT 2003


OK, since I already have an array of data, I probably want an Importer
anyway. Know of any good importer examples?

-----Original Message-----
From: Glen Lehmann [mailto:glehmann at imaging.robarts.ca]
Sent: Thursday, September 18, 2003 2:10 PM
To: Dubois, John R (MED)
Cc: VTK Mailing List (E-mail)
Subject: Re: [vtkusers] Creating new vtkImageSources


Hi John,

A how to guide for this does not exist.  There are a few examples in the

VTK tree (vtkGESignaReader, vtkDICOMImageReader).  There are python 
readers for MINC and DICOM files in the atamai (www.atamai.com) software

as well as various other readers written in python for GE's microview 
(www.microview.sourceforge.net).  I'm sure there are many more out there

and all of them would be a starting point for deveoping your own reader.

An importer (ie vtkImageImport) takes an array of data in C or a string 
of numbers in python and converts it into vtkImageData.  Many of the 
python readers use this method.  And of course a reader reads different 
file formats into vtkImageData (or some form of structured grid, etc
...).

Cheers,
Glen

Dubois, John R (MED) wrote:

> I am trying to create a new image reader. I have looked through all 
> the documentation I can find in the User's Guide, on line, and in the 
> examples and found it all pretty much useless. Is there anywhere I can

> find a "how to" guide for building my own image readers? What's the 
> difference between an "importer" and a "reader"?
>
> /GE Medical Systems/
> _______________________________________________
> *
> John Dubois
>
> *
> Software Programmer
>
> Functional and Molecular Imaging
> Phone: 519-858-5009
> E-mail: John.Dubois at med.ge.com 
> <mailto:John.Dubois at med.ge.com?subject=e-mail%20reply>
>
>  
>
>
------------------------------------------------------------------------
>




More information about the vtkusers mailing list