[vtkusers] Read *.ics image header (Python)
Jérôme
jerome.velut at gmail.com
Thu Nov 5 05:56:26 EST 2009
Hi,
The ics header gives you the information for a basic RAW reader:
- Extent,
- Spacing
- Orientation
- ...
In Python you can parse the ics header, set a vtkImageReader with the
parameters and set the filename to blabla.ids
I can send cxx classes that you should be able to wrap in python. These
classes implement a vtkICSImageReader
Best regards,
Jerome
2009/11/4 Alexander Richter <Alexander.Richter at student.fh-kiel.de>
> Hi there,
>
>
>
> I am opening *.mhd and *.dcm (DICOM) files with vtkMetaImageReader and
> vtkDICOMImageReader. Everything is working fine. Now I am trying to open an
> *.ics file which is very similar to the *.mhd file. Both header files are
> filled with some meta information about the stored image data. The *.mhd
> header data looks like this:
>
>
>
> Param=Value (separated by =).
>
>
>
> But the *.ics file looks a bit different:
>
>
>
> Param Value (separated by a tab).
>
>
>
> As I read and hopefully understood it’s not possible to use
> vtkMetaImageReader here because of the given format. Is there a possibility
> to interprete the *.ics header file with a vtk-class ? And if not: Has
> anyone some ideas how to solve this problem ?
>
>
>
> Thankful for every answer
>
> Alex
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091105/000e6eb4/attachment.htm>
More information about the vtkusers
mailing list