44 auto subtracted_image = detection_frame->getSubtractedImage();
45 auto thresholded_image = detection_frame->getThresholdedImage();
46 auto variance_map = detection_frame->getVarianceMap();
54 for (
auto& source : group) {
56 const auto&
min = boundaries.getMin();
57 const auto&
max = boundaries.getMax();
82 auto width =
max.m_x -
min.m_x +1;
83 auto height =
max.m_y -
min.m_y + 1;
90 for (
auto x =
min.m_x;
x <=
max.m_x; ++
x) {
91 for (
auto y =
min.m_y;
y <=
max.m_y; ++
y) {
92 auto index = (
x-
min.m_x) + (
y-
min.m_y) * width;
93 data[index] = subtracted_image->getValue(
x,
y);
94 thresholded_data[index] = thresholded_image->getValue(
x,
y);
95 variance_data[index] = variance_map->getValue(
x,
y);