|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| std::vector< glm::vec4 > MayaFlux::Yantra::VisionExtractor::sample_points | ( | const std::shared_ptr< Core::VKImage > & | source, |
| const Kinesis::Vision::VisionAnalysis & | analysis, | ||
| uint32_t | radius, | ||
| uint32_t | source_w, | ||
| uint32_t | source_h | ||
| ) |
Mean over a (2 * radius + 1) squared window at every keypoint, else every track, in one dispatch, in point order.
With flow as the source this is the motion under each point, with the frame the colour under it.
Definition at line 539 of file VisionExtractor.cpp.
References count, out, points, points_for_analysis(), radius, and reduce_context().
Referenced by run_operation().
Here is the call graph for this function:
Here is the caller graph for this function: