opencv/modules/imgproc/include/opencv2/imgproc
Pierre Chatelier 3cbb4acd2d
Merge pull request #26836 from chacha21:thresholding_compute_threshold_only
Add cv::THRESH_DRYRUN flag to get adaptive threshold values without thresholding #26836

A first proposal for #26777

Adds a `cv::THRESH_DRYRUN` flag to let cv::threshold() compute the threshold (useful for OTSU/TRIANGLE), but without actually running the thresholding. This flags is a proposal instead of a new function cv::computeThreshold()

- [x] I agree to contribute to the project under Apache 2 License.
- [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
- [X] The PR is proposed to the proper branch
- [X] There is a reference to the original bug report and related work
- [X] There is accuracy test, performance test and test data in opencv_extra repository, if applicable
      Patch to opencv_extra has the same branch name.
- [ ] The feature is well documented and sample code can be built with the project CMake
2025-01-24 14:25:21 +03:00
..
detail Merge pull request #25469 from mshabunin:cpp-emd 2024-04-24 14:28:31 +03:00
hal imgproc: restore multiplanar conversion functions in cv::hal namespace 2024-10-25 20:21:33 +03:00
bindings.hpp Merge pull request #19423 from LaurentBerger:houg_acc 2021-02-01 21:22:10 +00:00
imgproc_c.h Merge pull request #26590 from Kumataro:fix26589 2024-12-17 07:40:27 +03:00
imgproc.hpp Cleaned up adaptive bilateral filtering, added support for gaussian interpolation, updated sample and docs 2013-11-06 16:48:50 +04:00
segmentation.hpp fix typo 2024-12-19 10:59:17 +08:00
types_c.h Merge pull request #26836 from chacha21:thresholding_compute_threshold_only 2025-01-24 14:25:21 +03:00