#6443 Cast maxscale from double to float for scale calculation.
#6443 Cast maxscale from double to float for scale calculation.

opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv,opencv/opencv