Page MenuHomePhabricator

[Segmentation] Showing a previously hidden reference image requires a reinit
Closed, ResolvedPublic

Description

While working with invisible reference image and segmentation nodes I encountered the following:

  1. Open MITK and load an image.
  2. Open the Segmentation view.
  3. Select the loaded image in the Patient Image selector.
  4. Create a new segmentation node (Tools will be enabled).
  5. Hide the segmentation node. A warning appears (Tools will be disabled).
  6. Hide the reference image node
  7. Show the segmentation node. The warning disappears (Tools are still disabled)
  8. Show the reference image node (Tools are still disabled)
  9. Reinit either the reference image node or the segmentation node. The tools will be enabled.
  10. Hide the reference image node (Tools are still enabled)

I see step 7 and 8 as problematic: No clear instructions on what to do are given. Outcome of step 10 might be required, but at a first look it looks questionable (drawing without visible reference image).

Another similar problem:
Perform step 1 - 4.

  1. Add another image and create a segmentation node for it.
  2. Hide the first reference image and segmentation node.
  3. Change the patient image and segmentation selection to the first pair of nodes (the hidden ones). A warning appears (Tools will be disabled)
  4. Show the segmentation node again. Another warning appears (Tools are still disabled).
  5. Reinit the segmentation node, as the warning suggest (Tools are still disabled).
  6. Show the reference image node (Tools are still disabled).

Reinit in step 9 does basically not have any effect if the reference image node and the segmentation node are not both visible at the same time.

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

kalali triaged this task as Normal priority.Jan 19 2021, 2:33 PM
kalali created this task.
kalali moved this task from Backlog to Segmentation on the MITK (v2022.10) board.

First experiment is valid. Tools are enabled only after the step 9 reinit.

In the second experiment, for step 7, the segmentation node and the reference image are visible, the tools are enabled. Step 9 and 10 are moot. Reinit is not needed to enable the tools in step 9. But the viewer is still not centered on the reference image.

s349i added a revision: Restricted Differential Revision.Jul 12 2022, 3:14 PM