fixed bug in gpu filter engine (incorrect buffer type) and in vector's saturate_cast.
changed buffer type in linear filters to float. added support of 1 channel image to linear filters. added support of BORDER_REFLECT101, BORDER_REPLICATE and BORDER_CONSTANT border type to gpu linear filters. minor fix in tests. update comments in gpu.hpp.
This commit is contained in:
@@ -107,7 +107,7 @@ protected:
|
||||
|
||||
if (!compareMatches(matchesCPU, matchesGPU))
|
||||
{
|
||||
ts->printf(CvTS::LOG, "Match FAIL");
|
||||
ts->printf(CvTS::LOG, "Match FAIL\n");
|
||||
ts->set_failed_test_info(CvTS::FAIL_MISMATCH);
|
||||
return;
|
||||
}
|
||||
@@ -119,7 +119,7 @@ protected:
|
||||
|
||||
if (!compareMatches(knnMatchesCPU, knnMatchesGPU))
|
||||
{
|
||||
ts->printf(CvTS::LOG, "KNN Match FAIL");
|
||||
ts->printf(CvTS::LOG, "KNN Match FAIL\n");
|
||||
ts->set_failed_test_info(CvTS::FAIL_MISMATCH);
|
||||
return;
|
||||
}
|
||||
@@ -131,7 +131,7 @@ protected:
|
||||
|
||||
if (!compareMatches(radiusMatchesCPU, radiusMatchesGPU))
|
||||
{
|
||||
ts->printf(CvTS::LOG, "Radius Match FAIL");
|
||||
ts->printf(CvTS::LOG, "Radius Match FAIL\n");
|
||||
ts->set_failed_test_info(CvTS::FAIL_MISMATCH);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user