Program Listing for File motion_compute.h

Return to documentation for file (c/fmdt/motion/motion_compute.h)

#pragma once

#include "fmdt/features/features_struct.h"
#include "fmdt/motion/motion_struct.h"

void _motion_compute(const float* RoIs0_x, const float* RoIs0_y, const float* RoIs1_x, const float* RoIs1_y,
                     float* RoIs1_dx, float* RoIs1_dy, float* RoIs1_error, const uint32_t* RoIs1_prev_id,
                     uint8_t* RoIs1_is_moving, const size_t n_RoIs1, motion_t* motion_est1, motion_t* motion_est2);

void motion_compute(const RoIs_basic_t* RoIs0_basic, const RoIs_basic_t* RoIs1_basic, const RoIs_asso_t* RoIs1_asso,
                    RoIs_motion_t* RoIs1_motion, motion_t* motion_est1, motion_t* motion_est2);