300W experiment with C++ data and sparse response maps.

This commit is contained in:
Tadas Baltrusaitis
2017-08-11 13:49:55 -04:00
parent bfb9129b31
commit 5588742e32
5 changed files with 92 additions and 9 deletions

View File

@@ -214,14 +214,7 @@ void Patch_experts::Response(vector<cv::Mat_<float> >& patch_expert_responses, c
// Get intensity response either from the SVR, CCNF, or CEN patch experts (prefer CEN as they are the most accurate so far)
if (!cen_expert_intensity.empty())
{
if (scale <= 2)
{
cen_expert_intensity[scale][view_id][i].ResponseSparse(area_of_interest, patch_expert_responses[i]);
}
else
{
cen_expert_intensity[scale][view_id][i].Response(area_of_interest, patch_expert_responses[i]);
}
cen_expert_intensity[scale][view_id][i].ResponseSparse(area_of_interest, patch_expert_responses[i]);
}
else if (!ccnf_expert_intensity.empty())
{