[vtkusers] Sample code using VTK and DICOM

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Oct 2 07:23:48 EDT 2008


You need to turn GDCM_USE_VTK:ON. You will need a build/and or
installed version of VTK on your system (preferably VTK 5.2)

2cts

On Thu, Oct 2, 2008 at 1:19 PM, masabumi ishihara
<maty.ishihara at gmail.com> wrote:
> Hi Mathieu,
>
> Thank you for your reply.
> I immediately downloaded and built the gdcm-2.0.9 and got most of the
> library.
> But, the key tool, i.e. gdcmviewer, was not built, yet.
> Please tell me how to compile and build the gdcmviewer.
>
> Thanks,
>
> Maty
>
> 2008/10/1 Mathieu Malaterre <mathieu.malaterre at gmail.com>
>>
>> Maty,
>>
>>  gdcm 2.x comes with a small debugging tool : gdcmviewer.
>>
>> http://gdcm.sourceforge.net/wiki/index.php/Gdcmviewer
>>
>>  Try it and let me know what you think is <quote>"is not sufficient
>> for DICOM viewer."</quote>
>>
>> Thanks
>>
>> On Wed, Oct 1, 2008 at 11:48 AM, masabumi ishihara
>> <maty.ishihara at gmail.com> wrote:
>> > Hi Mathieu,
>> >
>> > Thank you for your infomation.
>> > Your infomation is always very helpful for me.
>> > By the way, I have a question about VTK.
>> > I think VTK is very strong tool for 3D rendering but its 2D viewer
>> > function
>> > is not sufficient for DICOM viewer.
>> > So, in my opinion, we need one more tool for DICOM viewer in addition to
>> > VTK.
>> > What do you think of it?
>> > If you think so, please recommend what is suitable for DICOM viewer.
>> >
>> > Thanks,
>> >
>> > Maty
>> >
>> > 2008/9/30 Mathieu Malaterre <mathieu.malaterre at gmail.com>
>> >>
>> >> On Tue, Sep 30, 2008 at 9:47 AM, masabumi ishihara
>> >> <maty.ishihara at gmail.com> wrote:
>> >> > Hi vtkusers,
>> >> >
>> >> > I am a newbie of this ML.
>> >> > I am an engineer of Medical Imaging in Japan, so I operate DICOM data
>> >> > everyday.
>> >> > This time, I have just started using VTK, so I need amount of sample
>> >> > source
>> >> > code using VTK and DICOM data.
>> >> > So, I would apriciate it if you give me the sample code.
>> >>
>> >> If you are lucky, vtkDICOMImageReader will work out of the box (raw
>> >> data only). If it fails, try vtkGDCMImageReader (will support
>> >> RAW/JPEG/JPEGLS/JPEG2000/RLE/Deflated and almost all Photometric
>> >> Interpretation).
>> >>
>> >> see my previous post where I list all examples using it:
>> >>
>> >> http://www.vtk.org/pipermail/vtkusers/2008-July/096145.html
>> >>
>> >> ref:
>> >> http://www.vtk.org/doc/nightly/html/classvtkDICOMImageReader.html
>> >>
>> >> and
>> >> http://gdcm.sourceforge.net/html/classvtkGDCMImageReader.html
>> >>
>> >> 2cts
>> >> --
>> >> Mathieu
>> >
>> >
>>
>>
>>
>> --
>> Mathieu
>
>



-- 
Mathieu



More information about the vtkusers mailing list