The BinaryThresholdImageFilter does not compress the data.<br><br><div class="gmail_quote">2011/8/19 °­¹Î±¸ <span dir="ltr">&lt;<a href="mailto:tominku@naver.com">tominku@naver.com</a>&gt;</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&nbsp;which has a 200MB volumdata in memory.</p>
<p>and i used the itkBinaryThresholdFilter to threshold the image(volume) then&nbsp;call update().</p>
<p>when i check the memory, there was&nbsp;about only 10 MB&nbsp;memory increment which&nbsp; is too small than i thought.</p>
<p>The original volume pixel type is 2byte short&nbsp;and when it is filtered,&nbsp;its pixel type will be changed to&nbsp;1byte&nbsp;uchar.</p>
<p>In my calculation,&nbsp;the output&nbsp;image size has to be&nbsp;100MB. so memory increment has to be&nbsp;100MB.&nbsp;But it isn&#39;t</p>
<p>so i think&nbsp;the filter&nbsp;compress the output image data internally(for example, using RLE compressing algorithm). is it right?&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</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>