1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

the rest modes of cv::Mat::convertTo

This commit is contained in:
Ilya Lavrenov
2014-10-10 11:05:19 +00:00
parent 4babecf3b0
commit 5f23d99918
3 changed files with 66 additions and 0 deletions
+2
View File
@@ -618,7 +618,9 @@ void cv::preCornerDetect( InputArray _src, OutputArray _dst, int ksize, int bord
if( src.depth() == CV_8U )
factor *= 255;
factor = 1./(factor * factor * factor);
#if CV_NEON || CV_SSE2
float factor_f = (float)factor;
#endif
#if CV_SSE2
volatile bool haveSSE2 = cv::checkHardwareSupport(CV_CPU_SSE2);