Please add explicit cast to `float` to eliminate warnings (http://build.opencv.org/builders/precommit_OCL-win64-vc10/builds/1285/steps/compile%20release/logs/warnings%20%281%29):

    float ang = static_cast<float>(min_theta);