21 #ifndef KJB_FLOW_DENSE_H
22 #define KJB_FLOW_DENSE_H
39 const Matrix& x_flows,
40 const Matrix& y_flows,
41 const Axis_aligned_rectangle_2d& roi
48 Matrix
flow_magnitude(
const Matrix& x_flows,
const Matrix& y_flows);
Definition for the Matrix class, a thin wrapper on the KJB Matrix struct and its related functionalit...
Class representing an axis-aligned, 2D rectangle.
Vector average_flow(const Matrix &x_flows, const Matrix &y_flows, const Axis_aligned_rectangle_2d &roi)
Get the average optical flow inside a rectangle region.
Definition: flow_dense.cpp:30
Matrix flow_magnitude(const Matrix &x_flows, const Matrix &y_flows)
Compute the flow magnitude.
Definition: flow_dense.cpp:76