|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< float > MayaFlux::Kinesis::Vision::threshold | ( | std::span< const float > | gray, |
| float | value | ||
| ) |
Global threshold: output is 1.0f where input >= value, else 0.0f.
| gray | Single-channel float span, size must be w * h. |
| value | Threshold value in [0, 1]. |
Definition at line 251 of file PixelOps.cpp.