netatmo-algo/src/a2.h

22 lines
671 B
C++
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#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