1
0
mirror of https://github.com/2martens/uni.git synced 2026-05-07 11:56:26 +02:00

[CCV] Added ability to compute feature maps

Signed-off-by: Jim Martens <github@2martens>
This commit is contained in:
2017-05-07 16:08:50 +02:00
parent 3003bf5338
commit ee5b0cabd0
2 changed files with 21 additions and 0 deletions

View File

@ -16,6 +16,12 @@ private:
static std::vector<cv::Mat> _sc_contrast_a;
static std::vector<cv::Mat> _cs_contrast_b;
static std::vector<cv::Mat> _sc_contrast_b;
static cv::Mat _cs_F_l;
static cv::Mat _sc_F_l;
static cv::Mat _cs_F_a;
static cv::Mat _cs_F_b;
static cv::Mat _sc_F_a;
static cv::Mat _sc_F_b;
static int _number_of_layers;
public:
const static int COLOR_L = 0;
@ -61,6 +67,12 @@ public:
*/
void static compute_dog(lab_pyramid center, lab_pyramid surround, int number_of_layers);
/**
* Computes the feature maps.
* Has to be called after compute_dog.
*/
void static compute_feature_maps();
/**
* Takes the scale images, adds them up and returns the result.
*