Added a test for the multi-band blender

This commit is contained in:
Alexey Spizhevoy
2012-01-30 10:31:10 +00:00
parent 3892ce1f73
commit 7ddb706b29
5 changed files with 84 additions and 3 deletions

View File

@@ -47,7 +47,7 @@ using namespace std;
TEST(SurfFeaturesFinder, CanFindInROIs)
{
Ptr<detail::FeaturesFinder> finder = new detail::SurfFeaturesFinder();
Mat img = imread(string(cvtest::TS::ptr()->get_data_path()) + "shared/lena.jpg");
Mat img = imread(string(cvtest::TS::ptr()->get_data_path()) + "cv/shared/lena.jpg");
vector<Rect> rois;
rois.push_back(Rect(0, 0, img.cols / 2, img.rows / 2));
@@ -70,4 +70,4 @@ TEST(SurfFeaturesFinder, CanFindInROIs)
ASSERT_GT(tl_rect_count, 0);
ASSERT_GT(br_rect_count, 0);
ASSERT_EQ(bad_count, 0);
}
}