opencv / opencv

Open Source Computer Vision Library
https://opencv.org
Apache License 2.0
75.95k stars 55.62k forks source link

HAL added for Otsu threshold #25509

Closed savuor closed 2 weeks ago

savuor commented 2 weeks ago

fixes #25393

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

vpisarev commented 2 weeks ago

BTW, the result of Otsu thresholding algorithm is black-n-white image. The input is grayscale image. It does not make sense to have cn parameter in this function