AutoLevel and AutoGamma doesn't cause any result

Nov 19, 2013 at 4:52 PM
I'm trying to apply AutoLevel and AutoGamma, but the result image is the original unchanged.
private void AutoEnhance() {
Nov 19, 2013 at 5:22 PM
Can you post a link to the image you are using? Feel free to contact me through codeplex if you don't feel like posting your image here.
Nov 19, 2013 at 5:35 PM
Nov 19, 2013 at 7:54 PM
What is the result you are expecting? AutoLevel stretches your image to the minimum and maximum of the QuantumRange (0-255 / 0-65535). Your image is already at the minimum and maximum, so it will not be changed.

AutoGamma does change your image but the difference is hardly noticeable:
C:\Test>compare -metric rmse fusca.png fusca2.png null:
232.336 (0.00354522)
Nov 19, 2013 at 7:59 PM
I'm trying to get something close to an autoenhance.
Nov 19, 2013 at 9:45 PM
Are you talking about this option: It seems I forgot to add it to Magick.NET. You can check the result like this:
C:\Test>convert fusca.png -enhance fusca2.png

C:\Test>compare -metric rmse fusca.png fusca2.png null:
719.341 (0.0109764)
Nov 20, 2013 at 6:46 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.