The BinaryThresholdImageFilter does not compress the data.<br><br><div class="gmail_quote">2011/8/19 강민구 <span dir="ltr"><<a href="mailto:tominku@naver.com">tominku@naver.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div style="font-size: 10pt; font-family: Gulim;"><p>Hi.</p>
<p>I had a itk:Image which has a 200MB volumdata in memory.</p>
<p>and i used the itkBinaryThresholdFilter to threshold the image(volume) then call update().</p>
<p>when i check the memory, there was about only 10 MB memory increment which is too small than i thought.</p>
<p>The original volume pixel type is 2byte short and when it is filtered, its pixel type will be changed to 1byte uchar.</p>
<p>In my calculation, the output image size has to be 100MB. so memory increment has to be 100MB. But it isn't</p>
<p>so i think the filter compress the output image data internally(for example, using RLE compressing algorithm). is it right? </p>
<p> </p>
<p> </p></div></div>
<img src="" border="0" height="0" width="0"><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>