-
-
Notifications
You must be signed in to change notification settings - Fork 56.2k
Open
Labels
Milestone
Description
System Information
OpenCV versions from 3.4.1 to OpenCV(4.10.0-dev)
Detailed description
on https://docs.opencv.org/4.x/dd/d6a/tutorial_js_filtering.html
i tried cv.medianBlur(src, dst, 257);
Exception: OpenCV(4.10.0-dev) /build/precommit_docs/4.x/opencv/modules/imgproc/src/median_blur.simd.hpp:241: error: (-215:Assertion failed) k < 16 in function 'medianBlur_8u_O1'
Steps to reproduce
on https://docs.opencv.org/4.x/dd/d6a/tutorial_js_filtering.html
let src = cv.imread('canvasInput');
let dst = new cv.Mat();
// You can try more different parameters
cv.medianBlur(src, dst, 257);
cv.imshow('canvasOutput', dst);
src.delete(); dst.delete();
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)