Login  Register

Auto Contrast with non-rectangular selection after inversion

Posted by pcloetens on May 07, 2008; 6:14pm
URL: http://imagej.273.s1.nabble.com/Lanczos-interpolation-tp3696296p3696297.html

Hello,
We noticed the following weird behavior after using Auto from the
Brightness/Contrast Tool using a non-rectangular ROI.
The pixels inside the rectangle containing the ROI but outside the ROI
itself get modified in an unexpected way. The result is quite beautiful
but not really wanted. The problem seems to occur only if the image was
inverted just before.
To reproduce the problem:
- File/New/Image...
        create image filled with Ramp
- Edit/Invert
- make any non-rectangular selection
- press the 'Auto' button in the Brightness/Contrast tool
The problem does not occur with
        Process/Enhance Contrast

Peter