-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathColorBackgroundSubtractor.h
42 lines (26 loc) · 1.02 KB
/
ColorBackgroundSubtractor.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// ColorBackgroundSubtractor.h
// segmenthreetion
//
// Created by Cristina Palmero Cantariño on 07/03/14.
//
//
#ifndef __segmenthreetion__ColorBackgroundSubtractor__
#define __segmenthreetion__ColorBackgroundSubtractor__
#include <iostream>
#include "ModalityData.hpp"
class ColorBackgroundSubtractor : public BackgroundSubtractor
{
private:
//unsigned char m_masksOffset;
void extractItemsFromMask(cv::Mat frame, cv::Mat & output);
public:
ColorBackgroundSubtractor();
//void setMasksOffset(unsigned char masksOffset);
void getMasks(ModalityData& mdInput, ModalityData& mdOutput);
void getBoundingRects(ModalityData& mdInput, ModalityData& mdOutput);
void adaptGroundTruthToReg(ModalityData& mdInput, ModalityData& mdOutput);
void getRoiTags(ModalityData& mdInput, ModalityData& mdOutput);
void getGroundTruthBoundingRects(ModalityData& mdInput, ModalityData& mdOutput);
};
#endif /* defined(__segmenthreetion__ColorBackgroundSubtractor__) */