Added a test for the multi-band blender
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user