Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error #2

Open
bsdgc opened this issue Nov 21, 2022 · 0 comments
Open

error #2

bsdgc opened this issue Nov 21, 2022 · 0 comments

Comments

@bsdgc
Copy link

bsdgc commented Nov 21, 2022

Hi, Thanks for sharing this helpful code. If I change the pix size, I will get the following error:

Exception in thread "Thread-7" CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.5.0) C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgproc\src\median_blur.dispatch.cpp:285: error: (-215:Assertion failed) (ksize % 2 == 1) && (src0.dims() <= 2 ) in function 'cv::medianBlur'
]
at org.opencv.imgproc.Imgproc.medianBlur_0(Native Method)
at org.opencv.imgproc.Imgproc.medianBlur(Imgproc.java:7548)
at Denoise.DenoiseFunc(Denoise.java:12)
at LuckyProfileRunner.doLuckyProfileRunner(LuckyProfiler
.java:872)
at LuckyProfileRunner.run(LuckyProfiler_.java:304)
Exception in thread "Thread-14" CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.5.0) C:\build\master_winpack-bindings-win64-vc14-static\opencv\modules\imgproc\src\median_blur.dispatch.cpp:285: error: (-215:Assertion failed) (ksize % 2 == 1) && (src0.dims() <= 2 ) in function 'cv::medianBlur'
]
at org.opencv.imgproc.Imgproc.medianBlur_0(Native Method)
at org.opencv.imgproc.Imgproc.medianBlur(Imgproc.java:7548)
at Denoise.DenoiseFunc(Denoise.java:12)
at LuckyProfileRunner.How2FWHM2Auto(LuckyProfiler
.java:343)
at LuckyProfileRunner.run(LuckyProfiler_.java:307)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant