Joe Verbout
/
main
opencv on mbed
Embed:
(wiki syntax)
Show/hide line numbers
ios.h
00001 00002 /*M/////////////////////////////////////////////////////////////////////////////////////// 00003 // 00004 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 00005 // 00006 // By downloading, copying, installing or using the software you agree to this license. 00007 // If you do not agree to this license, do not download, install, 00008 // copy or use the software. 00009 // 00010 // 00011 // License Agreement 00012 // For Open Source Computer Vision Library 00013 // 00014 // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 00015 // Copyright (C) 2009, Willow Garage Inc., all rights reserved. 00016 // Third party copyrights are property of their respective owners. 00017 // 00018 // Redistribution and use in source and binary forms, with or without modification, 00019 // are permitted provided that the following conditions are met: 00020 // 00021 // * Redistribution's of source code must retain the above copyright notice, 00022 // this list of conditions and the following disclaimer. 00023 // 00024 // * Redistribution's in binary form must reproduce the above copyright notice, 00025 // this list of conditions and the following disclaimer in the documentation 00026 // and/or other materials provided with the distribution. 00027 // 00028 // * The name of the copyright holders may not be used to endorse or promote products 00029 // derived from this software without specific prior written permission. 00030 // 00031 // This software is provided by the copyright holders and contributors "as is" and 00032 // any express or implied warranties, including, but not limited to, the implied 00033 // warranties of merchantability and fitness for a particular purpose are disclaimed. 00034 // In no event shall the Intel Corporation or contributors be liable for any direct, 00035 // indirect, incidental, special, exemplary, or consequential damages 00036 // (including, but not limited to, procurement of substitute goods or services; 00037 // loss of use, data, or profits; or business interruption) however caused 00038 // and on any theory of liability, whether in contract, strict liability, 00039 // or tort (including negligence or otherwise) arising in any way out of 00040 // the use of this software, even if advised of the possibility of such damage. 00041 // 00042 //M*/ 00043 00044 #import <UIKit/UIKit.h> 00045 #import <Accelerate/Accelerate.h> 00046 #import <AVFoundation/AVFoundation.h> 00047 #import <ImageIO/ImageIO.h> 00048 #include "opencv2/core/core.hpp" 00049 00050 //! @addtogroup imgcodecs_ios 00051 //! @{ 00052 00053 UIImage* MatToUIImage(const cv::Mat& image); 00054 void UIImageToMat(const UIImage* image, 00055 cv::Mat& m, bool alphaExist = false); 00056 00057 //! @} 00058
Generated on Tue Jul 12 2022 16:42:38 by 1.7.2