Page MenuHomePhabricator

"Image Masking" in Segmentation Utilities creates a cropped image mask that hides the parent image
Closed, InvalidPublic

Description

To reproduce:

  • load an image and create a segmentation on a single slice
  • open the segmentation utilities view and open the "Image Masking" widget (combo boxes should automatically show the correct nodes)
  • select "Image Masking" mode and press "Mask"
  • the tool creates a new image that contains the masked image information from the parent image
  • notice that the parent image is not visible anymore, because the region around the cropped patch is not transparent (pixel value = -1023)

What is striking: The region around the segmentation mask is transparent (pixel value = 0.00e+00), so we are asking if it is the intended behavior that the "patch-image" hides its parent image.

Event Timeline

kalali triaged this task as Normal priority.Mar 16 2018, 2:48 PM
kalali created this task.
kalali added a subscriber: onogur.
kislinsk added a subscriber: kislinsk.

It is intended. The outside pixel value is set to the lowest value in the value range that is retrieved from the source image. AFAIK there isn't a generic way of setting pixels of different pixel types generically to transparent.