Nurzat-89 / aforge

Automatically exported from code.google.com/p/aforge
0 stars 0 forks source link

Contrast issue #168

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It seems that reducing contrast on color image change colors

What steps will reproduce the problem?
1.set the contrast to 0.2 for example
2.
3.

What is the expected output? What do you see instead?
grayed less contrast image, i get purple where white image

What version of the product are you using?
2.1.4

Please provide any additional information below.

Original issue reported on code.google.com by luca.sag...@gmail.com on 19 Oct 2010 at 3:32

GoogleCodeExporter commented 8 years ago
1) 0.2 value mean decreasing contrast, not increasing. It is clearly said in 
documentation. (sorry, I just wanted to clarify this, since your report is a 
bit unclear)

2) The ContrastCorrection filter is based on HSL color space (as it is said in 
docs if read), so some artifacts with Hue may happen when you set too low/high 
contrast values. Better use RGB color space (see LevelsLinear)

Original comment by andrew.k...@gmail.com on 19 Oct 2010 at 7:00

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k...@gmail.com on 25 Nov 2010 at 2:09