Page MenuHomePhabricator

ImageReadAccessor should take a const mitk::Image* type in its constructor instead of a non-const object
Closed, DuplicatePublic

Description

The mitk::ImageReadAccessor currently requires a non-const mitk::Image pointer in its constructor. Methods taking a "const mitk::Image*" pointer need a const_cast if they want to read image data, which is counter-intuitive.