Another slight performance increase.

This commit is contained in:
Tadas Baltrusaitis
2017-08-29 21:43:27 +01:00
parent cc3264e749
commit e1bf2c5a39
3 changed files with 100 additions and 68 deletions

View File

@@ -79,8 +79,12 @@ namespace LandmarkDetector
void Response(const cv::Mat_<float> &area_of_interest, cv::Mat_<float> &response);
// Faster version of the response that only considers a subset of the area_of_interest
void ResponseSparse(const cv::Mat_<float> &area_of_interest, cv::Mat_<float> &response);
void ResponseSparse(const cv::Mat_<float> &area_of_interest, cv::Mat_<float> &response, cv::Mat_<float>& mapMatrix);
};
void interpolationMatrix(cv::Mat_<float>& mapMatrix, int response_height, int response_width, int input_width, int input_height);
}
#endif