Deprecated image access methods in mitk::Image have to be replaced by methods, that are provided by the new image accessor classes. The concept of image accessors is explained at Doxygen -> Related Pages -> Images.
A guideline to replace pointer related methods can be found on http://www.mitk.org/internal/ImageAccessorIntegration
Following methods are deprecated:
mitk::Image
- void* GetData()
- double GetPixelValueByIndex(...)
- double GetPixelValueByWorldCoordinate(...)
mitk::ImageDataItem
- void* GetData()
mitk::LegacyAdaptors
- CastToIpPicDescriptor(Image::Pointer, mitkIpPicDescriptor*)
- CastToIpPicDescriptor(itk::SmartPointer<ImageDataItem>, mitkIpPicDescriptor*)
Related Bugs:
- T13230: integration of new image accessors
IMPORTANT INFORMATION:
Usually, warnings in the core lead to errors. However, it was necessary to surpress that behavior for the classes mitk::Image and mitk::SliceNavigationController. Once the bug is fixed, those manipulations in Core/Code/CMakeLists.txt have to be reverted.