Skip to content

Commit bd4e5ec

Browse files
committed
スタイルガイドに合わせて名前空間の書き方修正
1 parent 36f0f5d commit bd4e5ec

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

modules/ximgproc/include/opencv2/ximgproc/sparse_table_morphology.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#include <opencv2/core.hpp>
99
#include <vector>
1010

11-
namespace cv { namespace stMorph {
11+
namespace cv {
12+
namespace stMorph {
1213

1314
//! @addtogroup imgproc_filter
1415
//! @{
@@ -103,7 +104,7 @@ CV_EXPORTS_W int log2(int n);
103104
CV_EXPORTS_W int longestRowRunLength(const Mat& kernel);
104105
CV_EXPORTS_W int longestColRunLength(const Mat& kernel);
105106

106-
}}
107+
}} // cv::stMorph::
107108
#endif
108109

109110
/*

modules/ximgproc/src/sparse_table_morphology.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
#include <utility>
88
#include <vector>
99

10-
namespace cv { namespace stMorph {
10+
namespace cv {
11+
namespace stMorph {
1112

1213
// normalizeAnchor; Copied from filterengine.hpp.
1314
static inline Point normalizeAnchor(Point anchor, Size ksize)
@@ -430,4 +431,4 @@ void morphologyEx(InputArray src, OutputArray dst, int op,
430431
}
431432
}
432433

433-
}}
434+
}} // cv::stMorph::

modules/ximgproc/test/test_sparse_table_morphology.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,4 +391,4 @@ TEST(ximgproc_StMorph_comp, 5_cvErode) { cvErode(im(CV_8UC3), knOnes()); }
391391

392392
#pragma endregion
393393

394-
}} // ::opencv_test::
394+
}} // opencv_test:: ::

0 commit comments

Comments
 (0)