Program Listing for File features_struct.h

Return to documentation for file (c/fmdt/features/features_struct.h)

#pragma once

#include <stdint.h>
#include <stddef.h>

typedef struct {
    uint32_t id;
    uint32_t xmin;
    uint32_t xmax;
    uint32_t ymin;
    uint32_t ymax;
    uint32_t S;
    uint32_t Sx;
    uint32_t Sy;
    uint64_t Sx2;
    uint64_t Sy2;
    uint64_t Sxy;
    float x;
    float y;
} RoI_basic_t;

typedef struct {
    uint32_t prev_id;
    uint32_t next_id;
} RoI_asso_t;

typedef struct {
    float dx;
    float dy;
    float error;
    uint8_t is_moving;
} RoI_motion_t;

typedef struct {
    uint32_t magnitude;
    uint32_t sat_count;
} RoI_magn_t;

typedef struct {
    float a;
    float b;
} RoI_elli_t;

typedef struct {
    RoI_basic_t* basic;
    RoI_asso_t* asso;
    RoI_motion_t* motion;
    RoI_magn_t* magn;
    RoI_elli_t* elli;
    size_t _size;
    size_t _max_size;
} RoIs_t;