Commit 541d5b02 authored by apavlenko's avatar apavlenko

disabling due to accuracy issues

parent ccd8031a
...@@ -866,10 +866,11 @@ void Canny( InputArray _src, OutputArray _dst, ...@@ -866,10 +866,11 @@ void Canny( InputArray _src, OutputArray _dst,
Mat src = _src.getMat(), dst = _dst.getMat(); Mat src = _src.getMat(), dst = _dst.getMat();
CV_OVX_RUN( CV_OVX_RUN(
src.type() == CV_8UC1 && false && /* disabling due to accuracy issues */
!src.isSubmatrix() && src.type() == CV_8UC1 &&
src.cols >= aperture_size && !src.isSubmatrix() &&
src.rows >= aperture_size, src.cols >= aperture_size &&
src.rows >= aperture_size,
openvx_canny( openvx_canny(
src, src,
dst, dst,
......
...@@ -1714,7 +1714,7 @@ namespace cv ...@@ -1714,7 +1714,7 @@ namespace cv
#if VX_VERSION <= VX_VERSION_1_0 #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())) 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; return false;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment