Skip to content

Commit 9dfc946

Browse files
authored
Fixed whitespace errors
1 parent 9a77c37 commit 9dfc946

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

modules/ximgproc/test/test_globalmatting.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace opencv_test
1414

1515
void runModel()
1616
{
17-
17+
1818
Ptr<GlobalMatting> gm = makePtr<GlobalMatting>();
1919
std::string img_path = cvtest::findDataFile(INPUT_DIR + "/" + IMAGE_FILENAME);
2020
std::string trimap_path = cvtest::findDataFile(INPUT_DIR + "/" + TRIMAP_FILENAME);
@@ -23,25 +23,25 @@ namespace opencv_test
2323
Mat trimap = cv::imread(trimap_path,cv::IMREAD_GRAYSCALE);
2424
ASSERT_FALSE(img.empty()) << "The Image could not be loaded: "<< img_path;
2525
ASSERT_FALSE(trimap.empty()) << "The trimap could not be loaded: "<< trimap_path;
26-
26+
2727
ASSERT_EQ(img.cols,trimap.cols);
2828
ASSERT_EQ(img.rows,trimap.rows);
2929
Mat foreground,alpha;
3030
int niter = 9;
3131
gm->getMat(img,trimap,foreground,alpha,niter);
32-
32+
3333
ASSERT_FALSE(foreground.empty()) << " Could not extract the foreground ";
3434
ASSERT_FALSE(alpha.empty()) << " Could not generate alpha matte ";
35-
35+
3636
ASSERT_EQ(alpha.cols,img.cols);
37-
ASSERT_EQ(alpha.rows,img.rows);
38-
37+
ASSERT_EQ(alpha.rows,img.rows);
38+
3939
}
4040

4141

4242
TEST(CV_GlobalMattingTest,accuracy)
4343
{
44-
runModel();
44+
runModel();
4545
}
4646

4747
}

0 commit comments

Comments
 (0)