Page MenuHomePhabricator

Remove deprecated image access
Closed, WontfixPublic

Description

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.

Event Timeline

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.
kislinsk closed subtask Restricted Maniphest Task as Wontfix.Jun 20 2018, 6:59 AM
kislinsk reopened subtask Restricted Maniphest Task as Open.Jun 27 2018, 2:58 PM
kislinsk closed subtask Restricted Maniphest Task as Resolved.Jun 27 2018, 3:25 PM