|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::Vision::threshold_otsu | ( | std::span< const float > | gray, |
| std::span< float > | dst | ||
| ) |
Otsu threshold writing into caller-supplied buffer.
Finds the optimal global threshold by maximising inter-class variance, then applies it.
| gray | Input span, size must be w * h. |
| dst | Output span, size must be w * h. |
Definition at line 279 of file PixelOps.cpp.
References dst, h, threshold, and total.
Referenced by MayaFlux::Kinesis::Vision::VisionExecutor::run(), and threshold_otsu().
Here is the caller graph for this function: