[Insight-users] Displaying series of DICOM Images : Examples : ImageMagick : VolView

Luis Ibanez luis . ibanez at kitware . com
Fri, 26 Sep 2003 16:57:07 -0400


Hi Thimmaiah,

Thanks for the clarification.

You are looking for something a bit different.

It seems that you want a light box display
of all the DICOM slices in your directory.

Here there are two options

A) use the ImageReadWrite.cxx example in
    Insight/Examples/IO and convert one by
    one all the DICOM slices into PNG files.

    Then use ImageMagick "montage" tool for
    composing a mosaic of your DICOM slices.


B) Use VolView. It can be downloaded from

    http://www . kitware . com/KitwareScripts/download . cgi/volview

    It now has a free mode, which BTW includes the
    functionality of ITK plugins.

    Once you load your DICOM data into VolView,
    you can select the menu "Window" and select
    "LightBox".   This will produce a mosaic of
    slices.  Finally you can save the mosaic
    using the option "File" -> "Save Screenshoot".

    I just tried this with your images, and worked fine.




Regards,


   Luis



--------------------------
Thimmaiah, Sandhya wrote:
> Hi Luis,
> I wanted to make a clarification here..I don't want to build a 3D image from
> the slices...but I want to read each image in the directory and display all
> in one screen. But the ImageSeriesReader class builds a n-dimension image
> from multiple n-1 dim image files. I wanted to know if I can use the below
> steps for what I am doing. When the reader tries to update i,e at line 
> reader->Update();
> reader->GetOutput()->Print( std::cout );
> 
> I am getting the message in console saying
> No DICOM magic number found, but file appears to be DICOM.
> Proceeding without caution.
> 
> I have mailed you the DICOM files I am using.I would really appreciate if
> you can clear my doubt. Thank you
> 
>