[Insight-users] dimension of an image
    Xabier Artaechevarria Artieda 
    xabiarta at unav.es
       
    Mon Apr 21 10:43:48 EDT 2008
    
    
  
Hi Al,
You have to get the region first and then you can access the size:
ImageType::SizeType size =  
reader->GetOutput()->GetLargestPossibleRegion().GetSize();
Hope that helps,
Xabi
-- 
Xabier Artaechevarria
Cancer Imaging Laboratory
Centre for Applied Medical Research
www.cima.es
Albert M <albermnz at gmail.com> ha escrito:
> Dear all,
>
> I would like to know if it is possible to know which is the size of each
> dimension of a read image.
>
> Best regards
> Al
>
----------------------------------------------------------------
Este mensaje ha sido enviado desde https://webmail.unav.es
    
    
More information about the Insight-users
mailing list