QView Stretch tool min/max type selection feature #5455
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The related issue linked below explains how the min/max values in the QView Stretch tool does not show the entire dynamic range of the min/max values in comparison to the
stats
output. Thestats
app outputs the absolute min/max values while the Stretch tool uses the best min/max values which is the better value of either the absolute or Chebyshev values. This could lead to confusion as to why there are two min/max types showing and may require a second tool to confirm the min/max values as OP states.This added feature gives the user the option to set the min/max types given three presets (Best, Absolute, & Chebyshev) from which the stretch view will change accordingly. The user still has the freedom to input their own min/max values in the text box and change other params as they choose.
Also added a "What's This" note as well, so if you open the Stretch Tool within QView then select the "What's This" feature (cursor with question mark icon), you can then select the drop-down (default "Best") and there is more info regarding this feature.
Related Issue
Addresses #5289
How Has This Been Validated?
Types of changes
Checklist:
Licensing
This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words: