OpenCV 4.5.3(日本語機械翻訳)
ios.h
1
2 /*M///////////////////////////////////////////////////////////////////////////////////////
3 //
4 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
5 //
6 // By downloading, copying, installing or using the software you agree to this license.
7 // If you do not agree to this license, do not download, install,
8 // copy or use the software.
9 //
10 //
11 // License Agreement
12 // For Open Source Computer Vision Library
13 //
14 // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
15 // Copyright (C) 2009, Willow Garage Inc., all rights reserved.
16 // Third party copyrights are property of their respective owners.
17 //
18 // Redistribution and use in source and binary forms, with or without modification,
19 // are permitted provided that the following conditions are met:
20 //
21 // * Redistribution's of source code must retain the above copyright notice,
22 // this list of conditions and the following disclaimer.
23 //
24 // * Redistribution's in binary form must reproduce the above copyright notice,
25 // this list of conditions and the following disclaimer in the documentation
26 // and/or other materials provided with the distribution.
27 //
28 // * The name of the copyright holders may not be used to endorse or promote products
29 // derived from this software without specific prior written permission.
30 //
31 // This software is provided by the copyright holders and contributors "as is" and
32 // any express or implied warranties, including, but not limited to, the implied
33 // warranties of merchantability and fitness for a particular purpose are disclaimed.
34 // In no event shall the Intel Corporation or contributors be liable for any direct,
35 // indirect, incidental, special, exemplary, or consequential damages
36 // (including, but not limited to, procurement of substitute goods or services;
37 // loss of use, data, or profits; or business interruption) however caused
38 // and on any theory of liability, whether in contract, strict liability,
39 // or tort (including negligence or otherwise) arising in any way out of
40 // the use of this software, even if advised of the possibility of such damage.
41 //
42 //M*/
43
44 #import <UIKit/UIKit.h>
45 #import <Accelerate/Accelerate.h>
46 #import <AVFoundation/AVFoundation.h>
47 #import <ImageIO/ImageIO.h>
48 #include "opencv2/core.hpp"
49
52
53CV_EXPORTS CGImageRef MatToCGImage(const cv::Mat& image) CF_RETURNS_RETAINED;
54CV_EXPORTS void CGImageToMat(const CGImageRef image, cv::Mat& m, bool alphaExist = false);
55CV_EXPORTS UIImage* MatToUIImage(const cv::Mat& image);
56CV_EXPORTS void UIImageToMat(const UIImage* image,
57 cv::Mat& m, bool alphaExist = false);
58
n-dimensional dense array class
Definition: mat.hpp:802