HomePhabricator
Diffusion MITK 561a06dc3c79

T29390 Improve_conversion_for_multilabel

This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

T29390 Improve_conversion_for_multilabel

Summary:
fixed typo

used c++14 short version for std::remove_const<>::type (review comment)

Exracted default node predicates for segmentation and reference image in order to be also used in other code parts.

Fixed incorrect hint message.

Introduces QmitkMultiNodeSelectionWidget::CurrentSelectionViolatesCheckFunction()

Added precondition checks to LabelSetImage::AddLayer

Added ConvertToMultiLabelSegmentation widget

Add conversion widget to seg utilities. Remove old conversion widgets from ui.

Added conversion helper needed for conversion widget.

Refactored redundant code parts

+ fixed MultiLabelTreeModel update bug (columns where not correctly

updated, if mouse was not over the widget)

Extracted CreateLabelMask out of LabelSetImage and moved to LabelSetImageConverter

Added CreateLabelClassMap

+ Added feature HideIDIfUnique to CreateNewLabel

Added extraction widget to utilities

Fixed output pixel type of mitk::PadImageFilter

No the output pixel type equals the pixel type of input 0.
Before it was always int.

Fixed error in TransferLabelContent functions when source has only a sub geometry.

need because itk::BinaryImageFilter always checks origin for equality
even if the requested output region is ok, it fails for sub geometry.
Fixed it by padding the source image if it only covers a subgeometry.

Fixed that QmitkConvertToMultiLabelSegmentions can also deal with inputs that only cover sub geometries of the reference.

Corrected update of selector check function when switching modes.

Introduce GetGroupImageWorkarround to avoid cloning of the LabelSetImage in order to make the extraction work correct.

+ improved constness

Updated documentation

+ Label instance mask is using label value

Fixed lookup table update error in visibility functions

Fix/imporve context menu for multi label selections

BREAKING

Removed obsolete widget classes

Test Plan: code review, workbench testing

Reviewers: O1 MITK Reviewer Group I, O3 MITK Reviewer Group II, kislinsk

Reviewed By: O1 MITK Reviewer Group I, O3 MITK Reviewer Group II, kislinsk

Subscribers: kislinsk

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

Details

Provenance
kislinskAuthored on Wed, Apr 10, 8:50 PM
kislinskPushed on Wed, Apr 10, 8:53 PM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK7efda63428f8: T29390 Improve_conversion_for_multilabel
rMITK7261d84c48c0: T29390 Improve_conversion_for_multilabel
Branches
Unknown
Tags
Unknown

Event Timeline

Empty Commit

This commit is empty and does not affect any paths.