In short - no.<br><br>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.<br>
<br>If I am wrong, can someone correct me please?<br><br>Dženan<br><br><div class="gmail_quote">On Mon, Aug 9, 2010 at 12:00, Guang Yang <span dir="ltr"><<a href="mailto:samggyy@gmail.com">samggyy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi there,<br><br>I am confusing about using GetLargestPossibleRegion() and GetRequestedRegion(). What are the differences?<br>
<br>GetLargestPossibleRegion() is getting all the pixels in the image.<br><br>And GetRequestedRegion() is getting all the none-zero pixels. Is that right?<br>
<br><br>Cheers,<br>Aaron <br>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br>