|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< float > MayaFlux::Kinesis::Vision::open | ( | std::span< const float > | mask, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | radius | ||
| ) |
Morphological opening: erode then dilate.
Removes small foreground regions and smooths boundaries.
| mask | Single-channel float span, size must be w * h. |
| w | Image width in pixels. |
| h | Image height in pixels. |
| radius | Structuring element half-size in pixels. |
Definition at line 118 of file Morphology.cpp.
References h, open(), and radius.
Here is the call graph for this function: