<div class="gmail_quote">On Tue, Aug 14, 2012 at 4:59 PM, yan xu <span dir="ltr"><<a href="mailto:xy198908@gmail.com" target="_blank">xy198908@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, all<div> I'm facing a problem to read only portion of the image to test the algorithm since the whole image is too big for the memory. I have tried using the itk pipeline through extractimage filter, but I don't think it works. The memory still goes larger and larger. My image type is 16bit nrrd. What I hope is that the only the desired region of the image is loaded into the memory. Is there a solution for that? Thank you!</div>
</blockquote><div><br></div><div>I've never done it, but you could try this:</div><div><br></div><a href="http://www.itk.org/Wiki/ITK/Examples/SimpleOperations/RequestedRegion">http://www.itk.org/Wiki/ITK/Examples/SimpleOperations/RequestedRegion</a><br clear="all">
<br>on your ImageReader.</div><div class="gmail_quote"><br><div>David</div></div>