[Insight-users] [ITK Community] GetImageDimension error

Matt McCormick matt.mccormick at kitware.com
Thu Jan 30 11:32:25 EST 2014


Hi Shandra,

The GetImageDimension macro has been removed in ITK 4.0 because it is
no longer needed.  It was a work around for older compilers that had
poor template support.  The replacement just

  TInputImage::ImageDimension

Hope this helps,
Matt

On Wed, Jan 29, 2014 at 5:16 AM, Shandra Gutierrez Diaz
<Shandra.GutierrezDiaz at ugent.be> wrote:
>
> Hi,
> I am building a project but it gives me the error:
>
>  error: no member named 'GetImageDimension' in namespace 'itk'
>   ::itk::GetImageDimension<TInputImage>::ImageDimension>,
>
> Is GetImageDimension still used in ITK 4.0 and if not is there any alternative for it.
>
> Thanks a lot,
> Shandra
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/community


More information about the Insight-users mailing list