|
MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API void MayaFlux::Kinesis::Vision::sobel | ( | std::span< const float > | gray, |
| std::span< float > | dx, | ||
| std::span< float > | dy, | ||
| std::span< float > | tmp, | ||
| uint32_t | w, | ||
| uint32_t | h | ||
| ) |
Sobel gradient writing dx and dy into caller-supplied buffers.
Does not compute magnitude or angle. tmp is used as the horizontal filter pass scratch. All buffers must be size >= w * h and must not alias.
| gray | Input span, size w * h. |
| dx | Output horizontal gradient, size >= w * h. |
| dy | Output vertical gradient, size >= w * h. |
| tmp | Scratch span for separable filter pass, size >= w * h. |
| w | Image width in pixels. |
| h | Image height in pixels. |
Definition at line 66 of file Gradient.cpp.
References h, MayaFlux::Kinesis::Vision::Kernels::sobel_kx, and MayaFlux::Kinesis::Vision::Kernels::sobel_ky.
Referenced by canny(), harris_response(), harris_response(), MayaFlux::Kinesis::Vision::VisionExecutor::run(), sobel(), and track_keypoints().
Here is the caller graph for this function: