-
Notifications
You must be signed in to change notification settings - Fork 1
/
saliency.h
29 lines (16 loc) · 1.28 KB
/
saliency.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
#ifndef SALIENCY_H
#define SALIENCY_H
#include "comman.h"
#include "type_que.h"
void getOverlap(vector<int> ®ionOverlap, const Mat &curRegionMap, const int &curIdx, const Mat &baseRegionMap, const Mat &convexMap);
void getCenterBias(double ¢erBias, const vector<Point> &pts, const Point &midP);
void normalizeVecd(vector<double> &vec);
void getCHODetail(Mat &CHODetailMap, const int &objIdx, const Mat &objPixelRegion, const int &bgIdx, const Mat &bgPixelRegion, const vector<Point> ®ionBound, const Mat &LABImg);
void getCHOSaliencyMap(Mat &saliencyMap, const vector<int> ®ionCount, const vector<Mat> &pyramidRegion, const Mat &LABImg);
void updateMixContrast(Mat &_saliencyMap, const Mat &pixelRegion, const int regionCount, const Mat &LABImg);
void updateborderMap(Mat &saliencyMap, Mat &borderMap, const Mat &pixelRegion, const int regionCount);
void quantizeColorSpace(Mat &colorMap, vector<Vec3f> &platte, const Mat &colorImg);
void updateColorSmooth(Mat &saliencyMap, const Mat &LABImg);
void updateRegionSmooth(Mat &saliencyMap, const Mat &pixelRegion, const int regionCount);
void getSaliencyMap(Mat &saliencyMap, const vector<int> ®ionCount, const vector<Mat> &pyramidRegion, const Mat &over_pixelRegion, const int &over_regionCount, const Mat &LABImg);
#endif // SALIENCY_H