[Insight-users] What are the differences between GetLargestPossibleRegion and GetRequestedRegion?

Dženan Zukić dzenanz at gmail.com
Mon Aug 9 13:01:47 EDT 2010


In short - no.

When the image is first read, it has requested=largest. However, you can set
requested region to some subset of the entire image, which is then respected
by all filters - this is to reduce computation burden by eliminating
computation of insignificant parts. If you don't do anything,
requestedRegion will always be equal to largest.

If I am wrong, can someone correct me please?

Dženan

On Mon, Aug 9, 2010 at 12:00, Guang Yang <samggyy at gmail.com> wrote:

> Hi there,
>
> I am confusing about using  GetLargestPossibleRegion() and
> GetRequestedRegion(). What are the differences?
>
> GetLargestPossibleRegion() is getting all the pixels in the image.
>
> And GetRequestedRegion() is getting all the none-zero pixels. Is that
> right?
>
>
> Cheers,
> Aaron
>
> _____________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100809/4ad5291b/attachment.htm>


More information about the Insight-users mailing list