[vtkusers] vtkGDCMImageReader

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Dec 10 06:13:13 EST 2010


On debian/ubuntu/fedora you can do:

apt-get install libvtkgdcm-dev

yum install libvtkgdcm-dev

HTH

On Thu, Dec 9, 2010 at 7:21 PM, Mark Roden <mmroden at gmail.com> wrote:
> Hi Rao,
>
> The best thing for a linux system is probably to build via cmake.
>
> Mark
>
> On Thu, Dec 9, 2010 at 9:57 AM, Rao Ruvva <KRuvva at robodoc.com> wrote:
>> Mark,
>>
>> Thanks for your response. I'll install GDCM and try.
>>
>> I was looking at Sourceforge for GDCM for Linux and found installation files for 64 bit systems. But I am on 32 bit system. Any ideas, from where I get the GDCM source for 32 bit Linux system?
>>
>> Thank you
>> Rao
>>
>> ________________________________________
>> From: Mark Roden [mmroden at gmail.com]
>> Sent: Wednesday, December 08, 2010 8:32 PM
>> To: Rao Ruvva
>> Cc: VTK
>> Subject: vtkGDCMImageReader
>>
>> Hi Rao,
>>
>> You might want to try the vtkGDCMImageReader class.  This class is
>> part of the gdcm project.
>>
>> You'll need to download GDCM from sourceforge, and then build it using
>> cmake with the option to use vtk checked.  I don't know your level of
>> using vtk, but I'd assume it's on the level of code, which would mean
>> building via cmake.  gdcm on top of vtk is fairly straightforward,
>> although you will need to use the IPP sorter class to sort your images
>> by z position.
>>
>> This wiki entry should help:
>> http://sourceforge.net/apps/mediawiki/gdcm/index.php?title=Using_GDCM_API#Automatic_ordering_of_slices_for_vtkGDCMImageReader.SetFileNames
>>
>> Good luck!
>> Mark
>>
> _______________________________________________
> 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
>



-- 
Mathieu



More information about the vtkusers mailing list