Is there any function in the OpenCV python wrapper that does the same thing as Mat's convertTo method in OpenCV 2?
I basically want to call this function in python
out.convertTo( out, CV_32F, 1.0/255, 0 );
You can simply use Numpy functions for this.
res = np.float32(out)
scaling, you will have to do separately:
res = res*scaling_factor