[go: up one dir, main page]

The Insight Journal logo

RLEImage: run-length encoded memory compression scheme for an itk::Image

Zukić, Dženan, McCormick, Matthew, Gerig, Guido, Yushkevich, Paul
Computer Graphics group, University of Siegen
Publication cover imagePublication cover image

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3562
New: Prefer using the following doi: https://doi.org/10.54294/t82x76
Submitted by Dženan Zukić on 2016-08-19 11:18:38.

This document describes a new class, itk::RLEImage, which uses run-length encoding to reduce the memory needed for storage of label maps. This class is accompanied by all the iterators to make it a dropin replacement for itk::Image. By changing the image typedef to itk::RLEImage, many ITK image processing algorithms build without modification and with minimal performance overhead. However, it is not possible if the user code uses GetBufferPointer() or otherwise assumes a linear pixel layout. This class is implemented to reduce the memory use of ITK-SNAP (www.itksnap.org), so ITKSNAP is the base for measuring the quantitative results. The class, accompanying iterator specializations, automated regression tests, and test data are all packaged as an ITK remote module https://github.com/KitwareMedical/ITKRLEImage.