Page MenuHomePhabricator

[Segmentation] Add tool checks for dynamic plugin view
Closed, ResolvedPublic

Description

Removing the plugin redundancy will result in a more dynamic single plugin view. Since some tools do not work with MultiLabel Segmentations (LabelSetImages) the tools need to be enabled / disabled dynamically, depending on the input data.

Tested tools with "brain.nrrd" and "US4DCyl.nrrd", using multiple labels and multiple layers


Tools that do not work with LabelSet images:


Tools that do not work with 4D images:


Tools that have general problems or are not relevant anymore:

Event Timeline

kalali triaged this task as Unbreak Now! priority.Jul 28 2021, 12:31 PM
kalali created this task.
kalali lowered the priority of this task from Unbreak Now! to High.Jan 20 2022, 11:49 AM
kalali updated the task description. (Show Details)

I did not explicitly handle any segmentation tools differently for multi label segmentations. The mentioned open tasks remain but the related classes need a general overhaul, which is not the scope of this task.
For the merging / redundancy removal of the segmentation views (parent task), I fixed some issues with D597.
A general problem with the CanHandle function was mentioned in T28989: [Segmentation] CanHandle functions seem to be inconsistent.