[Insight-users] How to get image size of itk registration?

akbarjan bayiz abayiz at yahoo.com
Wed Feb 16 07:37:29 EST 2011


Hi Gabriele,

That is exactly what I want. Thank you very much!



--- On Wed, 2/16/11, gabriele <gabriele.arnulfo at gmail.com> wrote:

> From: gabriele <gabriele.arnulfo at gmail.com>
> Subject: Re: [Insight-users] How to get image size of itk registration?
> To: "akbarjan bayiz" <abayiz at yahoo.com>
> Date: Wednesday, February 16, 2011, 6:10 AM
> Getting the size out of itkImage it
> should be done in this way ... say
> you have a SmartPointer image that comes out the itkReader
> you have to
>  image->GetLargestPossibleRegion().GetSize();
> 
> Cheers,
> 
> g.
> 
> On Wed, 2011-02-16 at 04:04 -0800, akbarjan bayiz wrote:
> > Hello to all!
> > 
> > I am performing a registration process of dicom
> images. After reading dicom files from a directory, I want
> to see the size of the 'reader', I mean the total image size
> that are read during the process. Can I do this? Is there
> any function such as "GetSizeOf" for it? 
> > 
> > Thank you in advance! 
> > 
> > 
> >       
> > _____________________________________
> > 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.html
> > 
> > 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
> 
> 


      


More information about the Insight-users mailing list