Simd icon indicating copy to clipboard operation
Simd copied to clipboard

How can do binarization image like cv::threshold, use "OTSU" auto threshold parameters!

Open sheiling opened this issue 4 years ago • 6 comments

Hello, my some code will use cv::threshold, and use "OTSU"、"BINARY" parameters. So I will get some piece of code from "simd", what can I do it proper? thanks for help me!

sheiling avatar Sep 09 '19 05:09 sheiling

I could add function which calculates Otsu threshold. Other functions (histogram calculation and image binarization are exist already in Simd).

ermig1979 avatar Sep 09 '19 07:09 ermig1979

good ! I write a naive code by myself! and use histogram and binarization functions from "simd", could I submit it to "simd"!

sheiling avatar Sep 09 '19 07:09 sheiling

Yes of course.

ermig1979 avatar Sep 09 '19 07:09 ermig1979

https://stackoverflow.com/questions/33693423/otsu-thresholding

ermig1979 avatar Oct 29 '19 06:10 ermig1979

May I ask is there already having implement of otsu thresholding in simd? Thanks.

axllou avatar Mar 16 '21 04:03 axllou

I'm so sorry but I could not find time to do this issue. I will do it when I have free time.

ermig1979 avatar Mar 16 '21 08:03 ermig1979

Hi! Its seems unbelievable but I added function to calculate Otsu threshold. :)

ermig1979 avatar Dec 29 '22 18:12 ermig1979