Page MenuHomePhabricator

[Segmentation] Support of Mask/Segmentations that are cropped / do not cover the whole image grid
Closed, WontfixPublic

Description

Status: Currently the code base in MITK often assumes and checks that a segmentation has to have completly the same geometry/grid than the respective image.

  • E.g. a lot of CL apps (like CLGlobalImageFeature, Fitting, PixeldDump...)
  • The segmentation views and utils (solved by T27467)
  • The statistic classes /modules / views (solved by T27468)
  • The registration views

to name a view, but there are certainly many more.

In practice it would be ofte enough to just ensure that the segmetation has the very same grid or a subregion out of it. Thus you could also use cropped segmentation that do only cover a smaller part of the grid.
Currently we allready offer such possibilities (crop of ML segmentations in context menu) or saving of DCM Seg (see T27416) with skipping empty slices and they lead to unsupported segmentations.

Introducing such an feature would be a major rework overhaul of the code base. It should be done in conjunction with other discussed planned and reworks, like

  • T26506
  • T24303 (as we now would blow up the segmentation any way if you want to alter it again regarding a given reference image)

The core things needed for this task are quite easy:

  • A helper/predicate that can be sued to easily check if a geometry is equal to a ref geometry or a valid sub part of the ref geometry grid. (solved by T27466)
  • A helper that allows to extend a segmentation (that is a valid subpart of a grid) to the grid/geometry of a reference image. E.g. to use in code parts that cannot properly handle subgrid segmentations.

The tricky part will be to rework all the code/business logic to properly handle such subpart segmentations.

Event Timeline

floca renamed this task from [Segmentation] Support of Mask/Segmentations that are cropped / do not coverthe whole image grid to [Segmentation] Support of Mask/Segmentations that are cropped / do not cover the whole image grid.May 22 2020, 2:00 PM

Task T26596 is mentioned but does not correlate with the Topic asaik...maybe transposed digits in the task number?

Task T26596 is mentioned but does not correlate with the Topic asaik...maybe transposed digits in the task number?

Thanks for the hint. Is corrected now.

kislinsk triaged this task as Wishlist priority.Jul 23 2020, 2:14 PM
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs