[Insight-users] How to save the result of itkHessianRecursiveGaussianImageFilter

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Oct 19 03:53:41 EDT 2009


On Mon, Oct 19, 2009 at 4:14 AM, 庄凌峰 <jxdw_zlf at yahoo.com.cn> wrote:

>  Hello
> I am new to itk.
> I want to employ HessianRecursiveGaussianImageFilter in my program.
> In order to see its result,I modified DicomSeriesReadImageWrite2.cxx. Wanna
> to result its output to a dicom file.
> But it failed with
>   itk::ExceptionObject (013FDEAC)
>   Location: "void __thiscall itk::GDCMImageIO::Write(const void *)"
>   File: ..\..\..\Insight\Code\IO\itkGDCMImageIO.cxx
>   Line: 1659
>   Description: itk::ERROR: GDCMImageIO(02E72FE0): DICOM does not support
> RGBPixels with components != 3
>
>

The DICOM 2008 standard does not allow anything other than grayscale with 1
component or a color space with 3 components (RGB, YBR ...). Please check
your number of component is either 1 or 3.

2cts
-Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20091019/217854ed/attachment.htm>


More information about the Insight-users mailing list