[Insight-users] GDCMImageIO and Get/Set Macros

Laurent PAUL Laurent.Paul at orto.ucl.ac.be
Mon May 29 06:01:36 EDT 2006


Hi users,

I try to modify MultiResMIRegistration from Insight Applications.
I'd want this program run with dicom images.
So, I have to Get the GDCMImageIO from reader and give it to the writer.
I understood how to use Set/Get Macros, that's great!!

I can't use Set/Get macros with GDCMImageIO. I've got some compilations
errors.
If I use:
  itkGetMacro( FixedgdcmIO, ImageIOType);
I get "'GDCMImageIO::GDCMImageIO' : cannot access private member declared
in class 'itk::GDCMImageIO'"

If I use:
  itkGetObjectMacro( FixedgdcmIO, ImageIOType);
I get "'GetPointer' : is not a member of 'GDCMImageIO'"

Is it possible to use Macros for GDCMImageIO?

Thanks,

Laurent




More information about the Insight-users mailing list