mirror of
https://github.com/opencv/opencv.git
synced 2026-07-28 23:03:03 +04:00
core: deprecate MatCommaInitializer_
This commit is contained in:
@@ -92,7 +92,7 @@ void decomposeHomography(const string &img1Path, const string &img2Path, const S
|
||||
//! [compute-camera-displacement]
|
||||
|
||||
//! [compute-plane-normal-at-camera-pose-1]
|
||||
Mat normal = (Mat_<double>(3,1) << 0, 0, 1);
|
||||
Mat normal = Mat_<double>({3,1}, {0, 0, 1});
|
||||
Mat normal1 = R1*normal;
|
||||
//! [compute-plane-normal-at-camera-pose-1]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user