|
int | capacity |
|
std::vector< Rect > | samples |
|
bool * | mask |
|
std::normal_distribution< float > | gaussianWidth |
|
std::normal_distribution< float > | gaussianHeight |
|
|
static std::default_random_engine | generator |
|
void MultiSampler::Sample |
( |
const std::vector< int > & |
matchDets, |
|
|
const Pool< Rect > & |
detections, |
|
|
const Size & |
imgSize |
|
) |
| |
Draw samples around the targets and detection pair.
- Parameters
-
matchDets | Matched pairs. |
detections | Detections. |
std::vector<Rect> MultiSampler::samples |
|
protected |
Samples vector. 1D array: (Capacity + 1) * MULTI_SAMPLER_SAMPLES [0, capacity * MULTI_SAMPLER_SAMPLES - 1] : samples around targets. [capacity * MULTI_SAMPLER_SAMPLES, (capacity + 1) * MULTI_SAMPLER_SAMPLES] : samples for background.
The documentation for this class was generated from the following files: