<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
I would like to retrieve the size of a 2D image as follow:<br>
<small><font face="Consolas"><br>
ImageType::Pointer img = somereader->GetImage();<br>
itk::Size<2> imgSize =
img->GetLargestPossibleRegion().GetSize();</font></small><br>
<br>
But during the debug in VisualStudio, imgSize[0] and imgSize[1]
appears to be null. Same if I do a std::cout.<br>
However, I know the image is well read as it is correctly displayed
later on in the code with a itkImageToVTKImageFilter.<br>
<br>
Thanks for helping me out,<br>
S.<br>
</body>
</html>