python - imaging: exposure function

Merge brightness and contrast functions