22 lines
671 B
C++
22 lines
671 B
C++
#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
|