File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 7
7
8
8
#include < opencv2/core.hpp>
9
9
10
- namespace cv
11
- {
10
+ namespace cv { namespace ximgproc {
11
+
12
12
// ! @addtogroup ximgproc
13
13
// ! @{
14
14
@@ -26,6 +26,7 @@ namespace cv
26
26
CV_EXPORTS Matx23d PeiLinNormalization ( InputArray I );
27
27
/* * @overload */
28
28
CV_EXPORTS_W void PeiLinNormalization ( InputArray I, OutputArray T );
29
- }
29
+
30
+ }} // namespace
30
31
31
32
#endif
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ int main(int argc, char** argv)
48
48
std::cout << " Couldn't open image " << filename2 << std::endl;
49
49
return 0 ;
50
50
}
51
- cv::Mat N = I & cv::PeiLinNormalization ( I );
52
- cv::Mat D = cv::PeiLinNormalization ( J ) & I;
51
+ cv::Mat N = I & cv::ximgproc:: PeiLinNormalization ( I );
52
+ cv::Mat D = cv::ximgproc:: PeiLinNormalization ( J ) & I;
53
53
cv::imshow ( " I" , I );
54
54
cv::imshow ( " N" , N );
55
55
cv::imshow ( " J" , J );
Original file line number Diff line number Diff line change 4
4
5
5
#include " precomp.hpp"
6
6
7
- namespace cv
8
- {
7
+ namespace cv { namespace ximgproc {
9
8
10
9
static inline Moments operator & ( const Moments & lhs, const Matx22d & rhs )
11
10
{
@@ -54,4 +53,4 @@ namespace cv
54
53
T.assign ( Mat ( PeiLinNormalization ( I ) ) );
55
54
}
56
55
57
- }
56
+ }} // namespace
You can’t perform that action at this time.
0 commit comments