added GPU bilateral filter + tests

added GPU non local means brute force filter + tests
This commit is contained in:
Anatoly Baksheev
2012-08-29 16:49:07 +04:00
parent a09679044e
commit 0ba01afd83
19 changed files with 755 additions and 201 deletions

View File

@@ -127,6 +127,14 @@ Mat readImageType(const std::string& fname, int type)
return src;
}
//////////////////////////////////////////////////////////////////////
// Image dumping
void dumpImage(const std::string& fileName, const cv::Mat& image)
{
cv::imwrite(TS::ptr()->get_data_path() + fileName, image);
}
//////////////////////////////////////////////////////////////////////
// Gpu devices