Login  Register

Re: Auto Contrast with non-rectangular selection after inversion

Posted by Gabriel Landini on May 07, 2008; 6:28pm
URL: http://imagej.273.s1.nabble.com/Lanczos-interpolation-tp3696296p3696299.html

On Wednesday 07 May 2008, Peter Cloetens wrote:

> 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

Yes, I can confirm that in 1.41c with the polygon or the freehand selections.

G.