[IGSTK-Users] Converting itk image to ijstk image

Luis Ibanez luis.ibanez at kitware.com
Fri Mar 30 08:14:03 EDT 2007


Hi Yoav,

Yes, the only way to load images into IGSTK is via DICOM files.

We have limited IGSTK to use only DICOM as input file format
because it is the *only* format that can guarantee that correct
information about the patient is available.

In IGSTK it is fundamental to be able to trust the origin, orientation
and pixel spacing of the input image, since they will be used for
driving the positioning of surgical instruments inside the patient.

If you need examples on how to save your images as DICOM series after
you process them with ITK, you may want to look at the ITK Software
Guide:

              http://www.itk.org/ItkSoftwareGuide.pdf

In particular Chapter 7 "Reading and Writing Images",
in pdf-page 295 to 346.  Section 7.12 is dedicated to
the details of how to write DICOM files.


Once you save your processed images as DICOM files you
will be able to load them into your IGSTK-based application.


    Regards,


       Luis


------------------
Yoav Taieb wrote:
> Hi Luis.
>  
> First of all , thank you for the help.
>  
> I am using the ijstk as the enverioment of the program. But I want to 
> see the result of the processing that I am doing in the itk. As I 
> understood from your answer that the only way that I can see the result 
> of the itk is by saving the dicom file on the disk. Please correct me if 
> I am wrong. 
> 
>  
> On 3/30/07, *Luis Ibanez* <luis.ibanez at kitware.com 
> <mailto:luis.ibanez at kitware.com>> wrote:
> 
> 
> 
>     Hi Yoav,
> 
> 
>     IGSTK is not intended for Image Processing or Image Analysis.
> 
> 
>           You probably should use ITK for those purposes.
> 
> 
>     Here is what you could do:
> 
> 
>        1) In an ITK based program
> 
>        1.1) Load your image into ITK readers
> 
>        1.2) use ITK filters for processing the image
> 
>        1.3) Save the image using the DICOM format
> 
> 
> 
>        2) In and IGSTK based program
> 
>        2.1) Load in IGSTK the DICOM image that
>             you saved in step (1.3).
> 
>        2.2) Display the image using the IGSTK
>             image spatial object representation
>             class
> 
> 
> 
>     Regards,
> 
> 
>          Luis
> 
> 
>     --------------------
>     Yoav Taieb wrote:
>      > Hi
>      > I want to read image in igstk and do a filter on the image and then
>      > represent the new image.
>      > I want to know how to convert the itk image to the igstk image?
>      >
>      > Thanks yoav.
>      >
>      >
>      >
>     ------------------------------------------------------------------------
>      >
>      > _______________________________________________
>      > IGSTK-Users mailing list
>      > IGSTK-Users at public.kitware.com
>     <mailto:IGSTK-Users at public.kitware.com>
>      > http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users
>     <http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-users>
> 
> 



More information about the IGSTK-Users mailing list