[vtkusers] Creating new vtkImageSources
Glen Lehmann
glehmann at imaging.robarts.ca
Mon Sep 22 09:31:56 EDT 2003
Hi John,
You can give Jeremy Gill's VFF Reader a try. It's part of the
vtkMultiIO package located at microview.sourceforge.net.
Glen
Dubois, John R (MED) wrote:
>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
>>
>>
>>
>
>
>
>
More information about the vtkusers
mailing list