Automatic gamma correction based on average of brightness
Minimum mean brightness error bi-histogram equalization in contrast enhancement