[Insight-users] Fwd: Fwd: DicomImageViewer and ImageViewer not visualice Dicom Images in RGB

Kendra kendracorreo at gmail.com
Wed Jul 9 14:13:13 EDT 2008


Thanks I do it! I have modified ImageColorViewer.cxx deleting the lines for
Images and add necessary lines for read a 2D Dicom Serie wich is located in
one directory. Thanks for the A) idea.

2008/7/9 Luis Ibanez <luis.ibanez at kitware.com>:

> Hi Kendra,
>
> Thanks for your Open Source spirit of going after improving an existing
> application.
>
> The modifications in the ImageViewer will require to replace the
> ImageFileReader with a SeriesFileReader.
>
> I would suggest to look at:
>
>
> A)
>
>    Insight/Examples/IO/DicomSeriesReadImageWrite2.cxx
>
>
>
> B)
>
>    InsightApplications/LiverTumorSegmentation/
>                              DicomImageReader.h
>                              DicomImageReader.txx
>                              DicomImageReaderBase.cxx
>                              DicomImageReaderBase.h
>                              DicomImageReaderGUI.fl
>
>
>
> C) InsighApplications/Auxiliary/vtk
>
>                vtkKWImage.cxx
>                vtkKWImage.h
>                vtkKWImageIO.cxx
>                vtkKWImageIO.h
>
>
>
> D) InsightApplications/SNAP
>
>      SNAP will be able to load DICOM series and
>      to visualize them in 3D orthogonal slices.
>
>
>
>
> The simplest change, will be to use the code from (A).
>
> The most modular change will be to use the code from (C) but it
> has the disadvantage that then the ImageViewer will depend on VTK
>
>
> Please take a look at the code and let us know if you have
> any questions.
>
>
> BTW: If you are simply looking for a good DICOM Viewer,
>     Slicer may be a better option.
>
>
>
>   Regards,
>
>
>       Luis
>
>
> --------------
> Kendra wrote:
>
>> I saw the FLTKImageViewe code and ImageColorViewer code and I would like
>> to add this functionality to move through diferent dcm files of my directory
>> with some free keys. Where I could add this code? In wich font file?
>>
>> 2008/7/9 Kendra <kendracorreo at gmail.com <mailto:kendracorreo at gmail.com>>:
>>
>>    The file format is .dcm
>>    Yes I see Dims: 512 x 512 x 1.  I have  got a directory with 2D
>>    dicom files (.dcm) than forms a dicom serie and an XML file
>>    indicates me the Z coordinate. You are in right. It's impossible for
>>    the application moves trough diferent dcm files in my directory. It
>>    was a confusion of myself.
>>
>>    2008/7/9 Luis Ibanez <luis.ibanez at kitware.com
>>    <mailto:luis.ibanez at kitware.com>>:
>>
>>
>>        Hi Kendra,
>>
>>        What file format are you passing as input to the ImageViewer ?
>>
>>        If you have a set of image slices saved in independent DICOM files,
>>        then each file has only one slice, and when you read it in the
>>        ImageViewer you will have a collapsed 3D image of NxMx1 pixels.
>>
>>        The simply way to know is to look at the Image data that the
>>        ImageViewer displays on the bottom left corner.
>>
>>
>>        The second line of that text should day something like:
>>
>>
>>               Dims: 512 x 512 x 200
>>
>>        (if you have a 3D image)
>>
>>        or something like:
>>
>>
>>        (if you have a 2D image)
>>
>>
>>        Please take a look at that text and let us know what you find.
>>
>>
>>          Thanks
>>
>>
>>
>>        BTW: If you are looking for applications for viewing, you should
>>            consider downloading Slicer:
>>
>>                         http://www.slicer.org/
>>
>>
>>
>>             Luis
>>
>>
>>
>>
>>        ---------------
>>        Kendra wrote:
>>
>>
>>
>>            ---------- Forwarded message ----------
>>            From: *Kendra* <kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>
>>            <mailto:kendracorreo at gmail.com <mailto:kendracorreo at gmail.com
>> >>>
>>            Date: 2008/7/9
>>            Subject: Re: [Insight-users] Fwd: DicomImageViewer and
>>            ImageViewer not visualice Dicom Images in RGB
>>            To: Luis Ibanez <luis.ibanez at kitware.com
>>            <mailto:luis.ibanez at kitware.com>
>>            <mailto:luis.ibanez at kitware.com
>>            <mailto:luis.ibanez at kitware.com>>>
>>
>>
>>            How can I check my dicom image has indeed multiple slices? I
>>            save a processed dicom serie, First I have got a 2d dicom
>>            serie, then I convert it in a volume for process it and then
>>            I save each slide separately but ',' and '.' keys not works...
>>            I have got a spanish keyboard.
>>
>>            2008/7/8 Kendra <kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>
>>            <mailto:kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>>>:
>>
>>
>>               Thanks Luis, I will try it.
>>
>>               2008/7/8 Luis Ibanez <luis.ibanez at kitware.com
>>            <mailto:luis.ibanez at kitware.com>
>>               <mailto:luis.ibanez at kitware.com
>>            <mailto:luis.ibanez at kitware.com>>>:
>>
>>
>>
>>                   Hi Kendra,
>>
>>                   You can switch slices with the "." and "," buttons.
>>                   They have the "<" and ">" on top in the US keyboard
>>            layout.
>>
>>                   Check first that your image has indeed multiple
>> slices...
>>
>>
>>
>>                     Regards,
>>
>>
>>                         Luis
>>
>>
>>                   ---------------
>>                   Kendra wrote:
>>
>>                       Ah, and I dont know how to see the next and
>>            previous slide
>>                       with ImageViewer. It seems to be posible with ">"
>>            and "<"
>>                       keys but it doesn't works for me :-( Is this with
>>            other keys
>>                       and I understand bad the ImageViewer help?
>>
>>                       ---------- Forwarded message ----------
>>                       From: *Kendra* <kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>
>>                       <mailto:kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>>
>>                       <mailto:kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>
>>            <mailto:kendracorreo at gmail.com
>>            <mailto:kendracorreo at gmail.com>>>>
>>                       Date: 2008/7/2
>>                       Subject: DicomImageViewer and ImageViewer not
>>            visualice
>>                       Dicom Images in RGB
>>                       To: Insight Users <insight-users at itk.org
>>            <mailto:insight-users at itk.org>
>>                       <mailto:insight-users at itk.org
>>            <mailto:insight-users at itk.org>>
>>            <mailto:insight-users at itk.org <mailto:insight-users at itk.org>
>>                       <mailto:insight-users at itk.org
>>            <mailto:insight-users at itk.org>>>>
>>
>>
>>                       I process a DICOM series images, each slide in
>>            2D, and I
>>                       saved them with nodules marked in RGB and with a
>>            filter that
>>                       applies RGB colors to de image like Osiris for
>>            example do
>>                       it. When I visualize this RGB Dicom Images with
>>            ImageViewer
>>                       or DicomImageViewer they appears in gray scale
>>            not in RGB
>>                       colors. What I can do?
>>
>>                       --            Esther.
>>
>>
>>
>>                       --            Esther.
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>>                       _______________________________________________
>>                       Insight-users mailing list
>>                       Insight-users at itk.org
>>            <mailto:Insight-users at itk.org> <mailto:Insight-users at itk.org
>>            <mailto:Insight-users at itk.org>>
>>
>>                       http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>>
>>
>>               --    Esther.
>>
>>
>>
>>            --            Esther.
>>
>>
>>
>>            --            Esther.
>>
>>
>>
>>  ------------------------------------------------------------------------
>>
>>            _______________________________________________
>>            Insight-users mailing list
>>            Insight-users at itk.org <mailto:Insight-users at itk.org>
>>            http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>>
>>
>>    --    Esther.
>>
>>
>>
>> --
>> Esther.
>>
>


-- 
Esther.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080709/c80f710b/attachment.htm>


More information about the Insight-users mailing list