Apply contrast factor before scaling between 0-1