Opencv Convert Float To 8 Bit Python