Page 1 of 1

Suggestion : Adding points via mouse clicks while displaying the output preview

Posted: December 13th, 2021, 2:01 pm
by pierrelabreche
There could be a way to specify that the value of the input point is desired, even when clicking the output point.
For example, when using the brightness curve transformation.

Re: Suggestion : Adding points via mouse clicks while displaying the output preview

Posted: December 15th, 2021, 5:39 pm
by jsachs
Currently, if you click on the output image in brightness curve, the probe returns the value of the pixel in the output image and similarly for the input image, which is what one would intuitively expect. I don't see any easy way to override this behavior currently since the probe is owned by the curve control and not by the transformation dialog box.

Re: Suggestion : Adding points via mouse clicks while displaying the output preview

Posted: December 15th, 2021, 7:26 pm
by pierrelabreche
jsachs wrote: December 15th, 2021, 5:39 pm Currently, if you click on the output image in brightness curve, the probe returns the value of the pixel in the output image and similarly for the input image, which is what one would intuitively expect. I don't see any easy way to override this behavior currently since the probe is owned by the curve control and not by the transformation dialog box.
If there were right-click menu item "click input image" when the preview image is displayed, that would do it.

Re: Suggestion : Adding points via mouse clicks while displaying the output preview

Posted: December 15th, 2021, 8:49 pm
by jsachs
Right click is already used and it wouldn't work anyway without a major rewrite.

Re: Suggestion : Adding points via mouse clicks while displaying the output preview

Posted: December 16th, 2021, 1:06 pm
by pierrelabreche
jsachs wrote: December 15th, 2021, 8:49 pm Right click is already used and it wouldn't work anyway without a major rewrite.
I found how to identify locations in the output image, and then to add a sample from the input image.
  • Display output preview
  • Place cursor where to sample the image
  • Type Ctrl-D to switch to input display (the cursor stays at same location)
  • Shift-click adds a point
  • Type Ctrl-D to switch to preview display (the cursor stays at same location)
This tip could be added in the help for curves and other transformations that sample images.