disabling due to accuracy issues
authorapavlenko <andrey.e.pavlenko@gmail.com>
Fri, 2 Dec 2016 12:59:09 +0000 (15:59 +0300)
committerapavlenko <andrey.e.pavlenko@gmail.com>
Fri, 9 Dec 2016 11:53:06 +0000 (14:53 +0300)
modules/imgproc/src/canny.cpp
modules/imgproc/src/smooth.cpp

index 44ac37b..ee2dc33 100644 (file)
@@ -866,10 +866,11 @@ void Canny( InputArray _src, OutputArray _dst,
     Mat src = _src.getMat(), dst = _dst.getMat();
 
     CV_OVX_RUN(
-        src.type() == CV_8UC1 &&
-                !src.isSubmatrix() &&
-                src.cols >= aperture_size &&
-                src.rows >= aperture_size,
+        false && /* disabling due to accuracy issues */
+            src.type() == CV_8UC1 &&
+            !src.isSubmatrix() &&
+            src.cols >= aperture_size &&
+            src.rows >= aperture_size,
         openvx_canny(
             src,
             dst,
index 9651d13..e7da827 100644 (file)
@@ -1714,7 +1714,7 @@ namespace cv
 #if VX_VERSION <= VX_VERSION_1_0
                 if (ctx.vendorID() == VX_ID_KHRONOS && ((vx_size)(src.cols) <= ctx.convolutionMaxDimension() || (vx_size)(src.rows) <= ctx.convolutionMaxDimension()))
                 {
-                    ctx.setBorderMode(prevBorder);
+                    ctx.setImmediateBorder(prevBorder);
                     return false;
                 }
 #endif