DGtal-team/DGtal — pull request #696 by elcerdo (2013-10-23 14:48:56+00:00)
Title: Refresh itk image container

Refreshed ImageContainerByITKImage.
ImageContainerByITKImage::Range and ImageContainerByITKImage::ConstRange could be optimized using native itk iterators, but using DefaultConstImageRange and DefaultImageRange works fine.
The domain is cached inside ImageContainerByITKImage, so if one modify the underlying ITKImage::Pointer, one should call the update() method to update the domain cached value.