1 /*M///////////////////////////////////////////////////////////////////////////////////////
3 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
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.
10 // Intel License Agreement
11 // For Open Source Computer Vision Library
13 // Copyright (C) 2000, Intel Corporation, all rights reserved.
14 // Third party copyrights are property of their respective owners.
16 // Redistribution and use in source and binary forms, with or without modification,
17 // are permitted provided that the following conditions are met:
19 // * Redistribution's of source code must retain the above copyright notice,
20 // this list of conditions and the following disclaimer.
22 // * Redistribution's in binary form must reproduce the above copyright notice,
23 // this list of conditions and the following disclaimer in the documentation
24 // and/or other materials provided with the distribution.
26 // * The name of Intel Corporation may not be used to endorse or promote products
27 // derived from this software without specific prior written permission.
29 // This software is provided by the copyright holders and contributors "as is" and
30 // any express or implied warranties, including, but not limited to, the implied
31 // warranties of merchantability and fitness for a particular purpose are disclaimed.
32 // In no event shall the Intel Corporation or contributors be liable for any direct,
33 // indirect, incidental, special, exemplary, or consequential damages
34 // (including, but not limited to, procurement of substitute goods or services;
35 // loss of use, data, or profits; or business interruption) however caused
36 // and on any theory of liability, whether in contract, strict liability,
37 // or tort (including negligence or otherwise) arising in any way out of
38 // the use of this software, even if advised of the possibility of such damage.
43 // 2004-03-16, Gabriel Schreiber <schreiber@ient.rwth-aachen.de>
44 // Mark Asbach <asbach@ient.rwth-aachen.de>
45 // Institute of Communications Engineering, RWTH Aachen University
46 // 2008-05-15, Xavier Delacour <xavier.delacour@gmail.com>
49 /****************************************************************************************\
50 * Array allocation, deallocation, initialization and access to elements *
51 \****************************************************************************************/
54 %newobject cvCreateImage;
55 %newobject cvCreateImageMat;
56 %newobject cvCreateImageHeader;
57 %newobject cvCloneImage;
58 %newobject cvCloneImageMat;
61 %newobject cvCreateMat;
62 %newobject cvCreateMatHeader;
63 %newobject cvCloneMat;
64 %newobject cvGetSubRect;
72 %newobject cvCreateMatND;
73 %newobject cvCreateMatHeaderND;
74 %newobject cvCloneMatND;
76 %nodefault CvSparseMat;
77 %newobject cvCreateSparseMat;
78 %newobject cvCloneSparseMat;
81 /****************************************************************************************\
82 * Dynamic data structures *
83 \****************************************************************************************/
85 %nodefault CvMemStorage;
86 %newobject cvCreateMemStorage;
87 %newobject cvCreateChildMemStorage;
89 %nodefault CvGraphScanner;
90 %newobject cvCreateGraphScanner;
93 /****************************************************************************************\
95 \****************************************************************************************/
97 %nodefault CvFileStorage;
98 %newobject cvOpenFileStorage;
104 /****************************************************************************************\
106 \****************************************************************************************/
108 %nodefault _IplConvKernel;
109 %newobject cvCreateStructuringElement;
112 /****************************************************************************************\
113 * Structural Analysis *
114 \****************************************************************************************/
116 %newobject cvFitEllipse2;
119 /****************************************************************************************\
121 \****************************************************************************************/
124 %newobject cvCreateKalman;
126 %nodefault CvConDensation;
127 %newobject cvCreateConDensation;
130 /****************************************************************************************\
131 * Histogram functions *
132 \****************************************************************************************/
134 %nodefault CvHistogram;
135 %newobject cvCreateHist;
138 /****************************************************************************************\
139 * Haar-like Object Detection functions *
140 \****************************************************************************************/
142 %nodefault CvHaarClassifierCascade;
143 %newobject cvLoadHaarClassifierCascade;
145 %nodefault CvPOSITObject;
146 %newobject cvCreatePOSITObject;
148 %nodefault CvFeatureTree;
149 %newobject cvCreateFeatureTree;
152 %newobject cvCreateLSH;
153 %newobject cvCreateMemoryLSH;
157 /// This hides all members of the IplImage which OpenCV doesn't use.
158 %ignore _IplImage::nSize;
159 %ignore _IplImage::alphaChannel;
160 %ignore _IplImage::colorModel;
161 %ignore _IplImage::channelSeq;
162 %ignore _IplImage::maskROI;
163 %ignore _IplImage::imageId;
164 %ignore _IplImage::tileInfo;
165 %ignore _IplImage::BorderMode;
166 %ignore _IplImage::BorderConst;
167 %ignore _IplImage::imageDataOrigin;
170 * imageData is hidden because the accessors produced by SWIG are not
171 * working correct. Use imageData_set and imageData_get instead
172 * (they are defined in "imagedata.i")
174 %ignore _IplImage::imageData;