21 #ifndef KJB_FLOW_VISUALIZER_H
22 #define KJB_FLOW_VISUALIZER_H
39 const std::vector<Feature_pair>& features,
kjb_c::Pixel Pixel_type
Definition: i_image.h:80
void draw_features(Image &img, const std::vector< Feature_pair > &features, const Vector &average_flow, Image::Pixel_type feature_pixel=fpix, Image::Pixel_type ave_flow_pixel=apix)
Draw the optical flow features and the average flow.
Definition: flow_visualizer.cpp:30
const Image::Pixel_type apix
Definition: flow_visualizer.h:30
Code for a wrapper class around the C struct KJB_Image.
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
const Image::Pixel_type fpix
Definition: flow_visualizer.h:31