"Restrict histogram to selection" restricts to more than selection
The "restrict histogram to selection" tickbox does not work as expected for me. Instead of restricting to the rectangle selection, it seems to restrict to the whole vertical slice containing the selection. It's hard to check on a real photo, so I made a small test picture (test-colors.png). When I select a completely white area below the red rectangle and the green one (vertical-not-white.png), the selection is completely white, but I still see peaks on the low end of the histogram, which seem to correspond to the red and green rectangles. Actually, if I move my rectangle vertically, the histogram doesn't change (within-red.png), even though the selection is now completely red. OTOH, if I select an area where all the pixels above and below are white, I do get a histogram of a white picture.
This happens both with "linear" and "logarithmic" histograms. The "waveform" histogram seems unaffected by the selection.
#2 Updated by Roman Lebedev almost 4 years ago
- % Done changed from 0 to 100
- Status changed from New to Fixed
Applied in changeset darktable|57307ed2829bcbc16da1c7cb97556d1ba98f7ac1.