blah2
A real-time passive radar
Centroid.h
Go to the documentation of this file.
1 
7 #ifndef CENTROID_H
8 #define CENTROID_H
9 
10 #include "data/Detection.h"
11 #include <stdint.h>
12 
13 class Centroid
14 {
15 private:
17  uint16_t nDelay;
18 
20  uint16_t nDoppler;
21 
24 
27 
28 public:
34  Centroid(uint16_t nDelay, uint16_t nDoppler, double resolutionDoppler);
35 
38  ~Centroid();
39 
44 };
45 
46 #endif
A class to remove duplicate target detections.
Definition: Centroid.h:14
Centroid(uint16_t nDelay, uint16_t nDoppler, double resolutionDoppler)
Constructor.
Definition: Centroid.cpp:7
~Centroid()
Destructor.
Definition: Centroid.cpp:15
Detection * detection
Pointer to detection data to store result.
Definition: Centroid.h:26
uint16_t nDelay
Number of delay bins to check.
Definition: Centroid.h:17
Detection * process(Detection *x)
Implement the 1D CFAR detector.
Definition: Centroid.cpp:19
uint16_t nDoppler
Number of Doppler bins to check.
Definition: Centroid.h:20
double resolutionDoppler
Doppler resolution to convert Hz to bins (Hz).
Definition: Centroid.h:23
A class to store detection data.
Definition: Detection.h:14