Refactor setChannelGlobalMinMax() logic
Merge pull request #65 from sbesson/createimage_speed

Refactor setChannelGlobalMinMax() logic