M2_SETI/A2/Detection_cercle/circle_detect/circle_detect.h

18 lines
456 B
C
Raw Permalink Normal View History

2023-02-16 09:00:58 +01:00
#include "hls_video.h"
typedef ap_axiu<24,1,1,1> interface_t;
typedef ap_uint<3> interface_3_bits;
typedef hls::stream<interface_t> stream_t;
void edge_detect(stream_t &stream_in, stream_t &stream_out);
#define MAX_WIDTH 1920
#define MAX_HEIGHT 1080
#define N_CIRCLE 2
typedef hls::Mat<MAX_HEIGHT, MAX_WIDTH, HLS_8UC3> rgb_img_t;
typedef hls::Scalar<3, unsigned char> rgb_pix_t;
#define INPUT_IMAGE "rover.bmp"
#define OUTPUT_IMAGE "rover_out.bmp"