Page MenuHomePhabricator

Pixel Value View should be aware of label set images
Closed, ResolvedPublic

Description

For example, if a label set image is selected that has multiple groups, all pixels that are not labelled in this group are reported as 0 even though other labels from other groups occupy this pixel.
Another improvement would be to show the image name and pixel value of the image below if the selected pixel does not have any label.

Revisions and Commits

rMITK MITK
Restricted Differential Revision
Restricted Differential Revision

Event Timeline

kislinsk triaged this task as Normal priority.Apr 19 2023, 9:59 AM
kislinsk created this task.

For now, I suggest the most simple solution which is to ignore label set images all together, as long as we do not correctly support probing pixel values at a certain location. This is a much more complex problem that can be tackled in the future if requested, for example:

  • Label set images have potentially groups with overlapping labels, requiring showing multiple pixel values
  • Opacity should probably be taken into account to decide what pixel values should be shown at all and the decision is different for regular images since fully opaque labels are possibly still rendered with a lower opacity in label set images
  • Generally speaking, even regular images would need to be probed for their final alpha value (i. e. fully transparent pixels because of applied LUTs or transfer functions)

The decision to ignore label set images for now is supported by the fact that pixel values for labels are already shown in the Segmentation view (tool tips).

kislinsk added a revision: Restricted Differential Revision.Tue, May 7, 8:49 AM

Deleted branch from rMITK MITK: bugfix/T29525-IgnoreLabelSetImagesInPixelValueView.