|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::Vision::filter_separable | ( | std::span< const float > | src, |
| std::span< float > | tmp, | ||
| std::span< float > | dst, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| std::span< const float > | kernel_x, | ||
| std::span< const float > | kernel_y | ||
| ) |
Separable 2D filter writing into caller-supplied buffers.
Horizontal pass writes into tmp, vertical pass writes into dst. All three spans must be size >= w * h and must not alias each other.
| src | Input span, size w * h. |
| tmp | Scratch span for horizontal pass, size >= w * h. |
| dst | Output span, size >= w * h. |
| w | Image width in pixels. |
| h | Image height in pixels. |
| kernel_x | Horizontal 1D kernel, odd length. |
| kernel_y | Vertical 1D kernel, odd length. |
Definition at line 500 of file ImageFilter.cpp.
References h.