34 #ifndef SIZE_DIVERGENCE
35 #define SIZE_DIVERGENCE
38 float get_mean(
float *numbers,
int n_elements);
float get_mean(float *numbers, int n_elements)
Get the sample mean of a vector of floats.
Image helper functions like resizing, color filter, converters...
uint16_t count
Number of times the point has been tracked successfully.
float get_size_divergence(struct flow_t *vectors, int count, int n_samples)
Get divergence from optical flow vectors based on line sizes between corners.