[Insight-users] Does itkBinaryThresholdFilter compress output image ?

Bill Lorensen bill.lorensen at gmail.com
Wed Aug 24 08:03:34 EDT 2011


The BinaryThresholdImageFilter does not compress the data.

2011/8/19 강민구 <tominku at naver.com>

> Hi.
>
> I had a itk:Image which has a 200MB volumdata in memory.
>
> and i used the itkBinaryThresholdFilter to threshold the image(volume)
> then call update().
>
> when i check the memory, there was about only 10 MB memory increment which
> is too small than i thought.
>
> The original volume pixel type is 2byte short and when it is filtered, its
> pixel type will be changed to 1byte uchar.
>
> In my calculation, the output image size has to be 100MB. so memory
> increment has to be 100MB. But it isn't
>
> so i think the filter compress the output image data internally(for
> example, using RLE compressing algorithm). is it right?
>
>
>
>
>
> _____________________________________
> 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/20110824/e42f41d4/attachment.htm>


More information about the Insight-users mailing list