[Insight-users] GetImageDimension error
Jon Haitz Legarreta
jhlegarreta at vicomtech.org
Wed Jan 29 05:34:55 EST 2014
Dear Shandra,
the dimension is always associated with an image.
Usually you would request the largest possible region of your image, and
then you would be able to know the number of dimensions of that region's
size [1].
Otherwise, you can get the number of dimensions through the ImageIOBase
class, as in this [2] example.
HTH,
JON HAITZ
[1]
http://itk.org/ITKExamples/src/Core/Common/GetImageSize/Documentation.html
[2] http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType
On 29 January 2014 11:16, 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140129/d729e359/attachment.html>
More information about the Insight-users
mailing list