OpenCV 4.5.3(日本語機械翻訳)
map.hpp
1 /*M///////////////////////////////////////////////////////////////////////////////////////
2 //
3 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
4 //
5 // By downloading, copying, installing or using the software you agree to this license.
6 // If you do not agree to this license, do not download, install,
7 // copy or use the software.
8 //
9 // Copyright (C) 2013, Alfonso Sanchez-Beato, all rights reserved.
10 // Third party copyrights are property of their respective owners.
11 //
12 // Redistribution and use in source and binary forms, with or without modification,
13 // are permitted provided that the following conditions are met:
14 //
15 // * Redistribution's of source code must retain the above copyright notice,
16 // this list of conditions and the following disclaimer.
17 //
18 // * Redistribution's in binary form must reproduce the above copyright notice,
19 // this list of conditions and the following disclaimer in the documentation
20 // and/or other materials provided with the distribution.
21 //
22 // * The name of the copyright holders may not be used to endorse or promote products
23 // derived from this software without specific prior written permission.
24 //
25 // This software is provided by the copyright holders and contributors "as is" and
26 // any express or implied warranties, including, but not limited to, the implied
27 // warranties of merchantability and fitness for a particular purpose are disclaimed.
28 // In no event shall the contributors be liable for any direct,
29 // indirect, incidental, special, exemplary, or consequential damages
30 // (including, but not limited to, procurement of substitute goods or services;
31 // loss of use, data, or profits; or business interruption) however caused
32 // and on any theory of liability, whether in contract, strict liability,
33 // or tort (including negligence or otherwise) arising in any way out of
34 // the use of this software, even if advised of the possibility of such damage.
35 //
36 //M*/
37
38 #ifndef MAP_H_
39 #define MAP_H_
40
41 #include <opencv2/core.hpp> // Basic OpenCV structures (cv::Mat, Scalar)
42
114 namespace cv {
115 namespace reg {
116
119
124 class CV_EXPORTS_W Map
125{
126 public:
130 virtual ~Map();
131
139 CV_WRAP virtual void warp(InputArray img1, OutputArray img2) const;
140
148 CV_WRAP virtual void inverseWarp(InputArray img1, OutputArray img2) const = 0;
149
154 CV_WRAP virtual cv::Ptr<Map> inverseMap() const = 0;
155
161 CV_WRAP virtual void compose(cv::Ptr<Map> map) = 0;
162
168 CV_WRAP virtual void scale(double factor) = 0;
169};
170
172
173}} // namespace cv::reg
174
175 #endif // MAP_H_
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
Base class for modelling a Map between two images.
Definition: map.hpp:125
virtual ~Map()
cv
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74