HomePhabricator
Diffusion MITK b52535d09e68

Apply levelwindow preset regardless of current scale range

Description

Apply levelwindow preset regardless of current scale range

Summary: Removed some logic that adapts a levelwindow preset to the current scale range, i.e. making it smaller to fit within the borders. Instead, now the level and window are just set exactly as specified by the preset, increasing the scale range if necessary. Solves T28783

Test Plan: Load an image (e.g. brain.nrrd), select a levelwindow preset that stretches beyond the current scale range (i.e. air). Result: the levelwindow ends up as defined in the preset

Reviewers: O3 MITK Reviewer Group II, kislinsk

Reviewed By: O3 MITK Reviewer Group II, kislinsk

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

Details

Provenance
s434nAuthored on Nov 8 2021, 5:16 AM
kislinskCommitted on Nov 8 2021, 5:16 AM
kislinskPushed on Nov 8 2021, 5:16 AM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITKeb848d840bf7: Always expand all tree nodes
Branches
Unknown
Tags
Unknown