[Insight-users] DICOM viewer using itk and vtk

John Drescher drescherjm at gmail.com
Tue Feb 28 14:53:54 EST 2012


On Tue, Feb 28, 2012 at 2:36 PM, Brenno Ribeiro <brennobr at gmail.com> wrote:
> Hi, i'm trying to create a dicom viewer using itk and vtk. So i'm begining
> to deal with the examples, DicomSeriesReadImageWrite2.cxx in this case. I
> create a project and build it with cmake-gui although i could create the
> binary of the project the program get into a exception like that:
>
> "itk::ExceptionObject (0x15afd50)
> Location: "virtual void itk::JPEGImageIO::Write(const void*)"
> File:
> /home/brennobr/Util/Itk/InsightToolkit-4.0.0/Modules/IO/JPEG/src/itkJPEGImageIO.cxx
> Line: 437
> Description: itk::ERROR: JPEGImageIO(0x1587840): JPEG supports unsigned
> char/int only"
>
Did you change the code to use float or double images?

John


More information about the Insight-users mailing list