HomePhabricator
Diffusion MITK d5ee209ef70f

T30390 Refactor_multi_label_bool_ops

Description

T30390 Refactor_multi_label_bool_ops

Summary:
BREAKING!!! What: - Reworked BooleanOperation to support multi label and 3d+t - Changed from class pattern to global functions for generating the mask

Why:

  • Functor pattern (class instances configured through contructur) is superfluous and not stateless. Lambdas and global functions are a better approach.
  • Added multi label support and allow nary operations (more then two labels at once)

Reworked Boolean widget

+ fixed T30390

Fixed error in selection docu example

Improved visual label selection feedback in QmitkBooleanOperationWidget

Test Plan: code review, gui testing of bool tool

Reviewers: O1 MITK Reviewer Group I, s434n

Reviewed By: O1 MITK Reviewer Group I, s434n

Subscribers: s434n

Maniphest Tasks: T30390

Differential Revision: https://phabricator.mitk.org/D921

Details

Provenance
flocaAuthored on Apr 19 2024, 8:40 AM
flocaPushed on Apr 19 2024, 8:49 AM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITKc3984eb2bd89: fixed review remarks
rMITKed252ae783e7: Merge branch 'feature/T30393-CmdLineAppStartScripts' into develop
Branches
Unknown
Tags
Unknown
Tasks
T30390: [SEG] Utilities - rework/fix boolean operations