netatmo-algo/src/a2.h
Fabien Freling 5b32c517c1 add mask
2022-02-17 23:37:46 +01:00

21 lines
671 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#pragma once
#include <vector>
#include "bounding_box.h"
#include "frame.h"
#include "mask.h"
namespace freling {
std::vector<BoundingBox> A2(const Frame& frame, const Mask& mask);
// The normal signature for this function is the one above:
// std::vector<BoundingBox> A2(const Frame& regions);
// However, since we are mocking this algorithm we just need to fulfill this
// constraint: "We assume for the sake of simplicity, that no bounding boxe
// in B overlaps more than one region in F Regions".
// To do so, we need to have the original delimitation of regions.
std::vector<BoundingBox> A2(const std::vector<BoundingBox>& regions);
} // namespace freling