[vtkusers] Creating new vtkImageSources

Dubois, John R (MED) John.Dubois at med.ge.com
Fri Sep 19 15:18:48 EDT 2003


Thanks.

I am reading in a VFF file - which creates a simple contiguous block of
single value (i.e. short int) pixels. However, the data does not appear
to be laid out correctly for the vtmImageImport object. The structure
appears to be the same as in this example.

I will try permuting the dimensions....

-----Original Message-----
From: Mathieu Malaterre [mailto:Mathieu.Malaterre at creatis.insa-lyon.fr]
Sent: Friday, September 19, 2003 3:24 AM
To: Dubois, John R (MED)
Cc: VTK Mailing List (E-mail)
Subject: Re: [vtkusers] Creating new vtkImageSources


http://vtk.org/cgi-bin/cvsweb.cgi/~checkout~/VTK/Imaging/Testing/Cxx/Imp
ortExport.cxx

Dubois, John R (MED) wrote:
> 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>
>>
>> 
>>
>>
> 
>
------------------------------------------------------------------------
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/



More information about the vtkusers mailing list