In my application i use blur as follows but it triggers a segmentation fault all time. I tried with Size(image.cols,image.rows) but not helped.
blur(image,image,Size(3,3));
terminate called after throwing an instance of ‘cv::Exception’
what(): OpenCV(4.5.0-dev) /openCV/opencv/modules/imgproc/src/filter.simd.hpp:100: error: (-215:Assertion failed) this_.roi.x >= 0 && this_.roi.y >= 0 && this_.roi.width >= 0 && this_.roi.height >= 0 && this_.roi.x + this_.roi.width <= this_.wholeSize.width && this_.roi.y + this_.roi.height <= this_.wholeSize.height in function ‘FilterEngine__start’
Aborted
please help to resolve this issue.