|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::vector< float > MayaFlux::Kinesis::Vision::filter_separable | ( | std::span< const float > | src, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| std::span< const float > | kernel_x, | ||
| std::span< const float > | kernel_y | ||
| ) |
Apply a separable 2D filter via two 1D passes.
Applies kernel_x horizontally then kernel_y vertically. Both kernels are applied with clamp-to-edge border handling.
| src | Single-channel float span, size must be w * h. |
| w | Image width in pixels. |
| h | Image height in pixels. |
| kernel_x | Horizontal 1D kernel. Length must be odd. |
| kernel_y | Vertical 1D kernel. Length must be odd. |
Definition at line 489 of file ImageFilter.cpp.
References filter_separable(), and h.
Referenced by filter_separable(), gaussian_blur(), and MayaFlux::Kinesis::Vision::VisionExecutor::run().
Here is the call graph for this function:
Here is the caller graph for this function: