Im developing an image detection application for images.
But there is a problem with my camera, which is trying to compensate for the light, and the image result is bad, in most cases I have a cold or warm effect on the image. When I use Photoshop, there is an AutoTone function that normalizes the image and reduces this problem.
With aforge, I want to use the HistogramEqualization () filter, but the result is very bad:
// create filter HistogramEqualization filter = new HistogramEqualization( ); // process image filter.ApplyInPlace( sourceImage );
So my question is: Is there a function in Accord or Aforge to have the same Photoshop auto-tuning result? If not, is there a library or script that allows you to do this?
Thanks to everyone.
LevelsLinear :
ImageStatistics stats = new ImageStatistics(sourceImage); LevelsLinear levelsLinear = new LevelsLinear { InRed = stats.Red.GetRange( 0.90 ), InGreen = stats.Green.GetRange( 0.90 ), InBlue = stats.Blue.GetRange( 0.90 ) }; levelsLinear.ApplyInPlace(sourceImage);
, .
, , , , , , , . , , , . , , , , , , . .
, , . , , , , , , . , , .