├── bin
└── data
│ ├── .gitkeep
│ ├── Icon.png
│ ├── Default.png
│ ├── Icon-72.png
│ ├── Icon@2x.png
│ ├── Default@2x.png
│ ├── Icon-72@2x.png
│ ├── Default~ipad.png
│ ├── targetA1_480.jpg
│ ├── targetA2_480.jpg
│ ├── Default@2x~ipad.png
│ ├── Default~iphone.png
│ ├── Default@2x~iphone.png
│ ├── Default-568h@2x~iphone.png
│ └── markers.yml
├── lib
└── opencv2.framework
│ ├── Versions
│ ├── Current
│ └── A
│ │ ├── opencv2
│ │ ├── Headers
│ │ ├── flann
│ │ │ ├── dummy.h
│ │ │ ├── config.h
│ │ │ ├── general.h
│ │ │ ├── timer.h
│ │ │ ├── sampling.h
│ │ │ ├── object_factory.h
│ │ │ ├── params.h
│ │ │ ├── ground_truth.h
│ │ │ ├── matrix.h
│ │ │ ├── linear_index.h
│ │ │ ├── logger.h
│ │ │ ├── random.h
│ │ │ ├── heap.h
│ │ │ ├── dynamic_bitset.h
│ │ │ ├── defines.h
│ │ │ ├── simplex_downhill.h
│ │ │ ├── all_indices.h
│ │ │ ├── saving.h
│ │ │ ├── miniflann.hpp
│ │ │ ├── nn_index.h
│ │ │ └── composite_index.h
│ │ ├── opencv_modules.hpp
│ │ ├── core
│ │ │ ├── devmem2d.hpp
│ │ │ └── version.hpp
│ │ ├── videostab
│ │ │ ├── videostab.hpp
│ │ │ ├── log.hpp
│ │ │ ├── frame_source.hpp
│ │ │ ├── fast_marching.hpp
│ │ │ ├── motion_stabilizing.hpp
│ │ │ ├── deblurring.hpp
│ │ │ ├── optical_flow.hpp
│ │ │ ├── global_motion.hpp
│ │ │ └── fast_marching_inl.hpp
│ │ ├── world
│ │ │ └── world.hpp
│ │ ├── nonfree
│ │ │ ├── nonfree.hpp
│ │ │ └── features2d.hpp
│ │ ├── video
│ │ │ └── video.hpp
│ │ ├── photo
│ │ │ ├── photo_c.h
│ │ │ └── photo.hpp
│ │ ├── opencv.hpp
│ │ ├── stitching
│ │ │ ├── detail
│ │ │ │ ├── camera.hpp
│ │ │ │ ├── autocalib.hpp
│ │ │ │ ├── util_inl.hpp
│ │ │ │ ├── exposure_compensate.hpp
│ │ │ │ ├── blenders.hpp
│ │ │ │ └── util.hpp
│ │ │ └── warpers.hpp
│ │ ├── contrib
│ │ │ └── detection_based_tracker.hpp
│ │ ├── legacy
│ │ │ └── streams.hpp
│ │ └── highgui
│ │ │ └── cap_ios.h
│ │ └── Resources
│ │ └── Info.plist
│ ├── Headers
│ ├── opencv2
│ └── Resources
├── .gitignore
├── src
├── main.mm
├── ofApp.h
└── ofApp.mm
├── Project.xcconfig
├── README.md
├── LICENSE
└── ofxiOS-Info.plist
/bin/data/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/Current:
--------------------------------------------------------------------------------
1 | A
--------------------------------------------------------------------------------
/lib/opencv2.framework/Headers:
--------------------------------------------------------------------------------
1 | Versions/A/Headers
--------------------------------------------------------------------------------
/lib/opencv2.framework/opencv2:
--------------------------------------------------------------------------------
1 | Versions/A/opencv2
--------------------------------------------------------------------------------
/lib/opencv2.framework/Resources:
--------------------------------------------------------------------------------
1 | Versions/A/Resources
--------------------------------------------------------------------------------
/bin/data/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Icon.png
--------------------------------------------------------------------------------
/bin/data/Default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default.png
--------------------------------------------------------------------------------
/bin/data/Icon-72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Icon-72.png
--------------------------------------------------------------------------------
/bin/data/Icon@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Icon@2x.png
--------------------------------------------------------------------------------
/bin/data/Default@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default@2x.png
--------------------------------------------------------------------------------
/bin/data/Icon-72@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Icon-72@2x.png
--------------------------------------------------------------------------------
/bin/data/Default~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default~ipad.png
--------------------------------------------------------------------------------
/bin/data/targetA1_480.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/targetA1_480.jpg
--------------------------------------------------------------------------------
/bin/data/targetA2_480.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/targetA2_480.jpg
--------------------------------------------------------------------------------
/bin/data/Default@2x~ipad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default@2x~ipad.png
--------------------------------------------------------------------------------
/bin/data/Default~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default~iphone.png
--------------------------------------------------------------------------------
/bin/data/Default@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default@2x~iphone.png
--------------------------------------------------------------------------------
/bin/data/Default-568h@2x~iphone.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/bin/data/Default-568h@2x~iphone.png
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/opencv2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/royshil/ofxNaturalFeatureTracker/master/lib/opencv2.framework/Versions/A/opencv2
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/flann/dummy.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef OPENCV_FLANN_DUMMY_H_
3 | #define OPENCV_FLANN_DUMMY_H_
4 |
5 | namespace cvflann
6 | {
7 |
8 | #if (defined WIN32 || defined _WIN32 || defined WINCE) && defined CVAPI_EXPORTS
9 | __declspec(dllexport)
10 | #endif
11 | void dummyfunc();
12 |
13 | }
14 |
15 |
16 | #endif /* OPENCV_FLANN_DUMMY_H_ */
17 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.xcodeproj
3 |
4 | # Compiled Object files
5 | *.slo
6 | *.lo
7 | *.o
8 | *.obj
9 |
10 | # Precompiled Headers
11 | *.gch
12 | *.pch
13 |
14 | # Compiled Dynamic libraries
15 | *.so
16 | *.dylib
17 | *.dll
18 |
19 | # Fortran module files
20 | *.mod
21 |
22 | # Compiled Static libraries
23 | *.lai
24 | *.la
25 | *.a
26 | *.lib
27 |
28 | # Executables
29 | *.exe
30 | *.out
31 | *.app
32 |
--------------------------------------------------------------------------------
/src/main.mm:
--------------------------------------------------------------------------------
1 | #include "ofMain.h"
2 | #include "ofApp.h"
3 |
4 | int main(){
5 |
6 | // ofAppiOSWindow * window = new ofAppiOSWindow();
7 | // window->enableRendererES2(); // ofxiOSVideoWriter only works properly using ES2 renderer, because it needs shaders on iOS.
8 | // window->enableDepthBuffer();
9 | // window->enableRetina();
10 |
11 | // ofSetupOpenGL(window, 1024, 768, OF_FULLSCREEN);
12 | ofSetupOpenGL(1024, 768, OF_FULLSCREEN);
13 |
14 | ofRunApp(new ofApp);
15 | }
16 |
--------------------------------------------------------------------------------
/Project.xcconfig:
--------------------------------------------------------------------------------
1 | //THE PATH TO THE ROOT OF OUR OF PATH RELATIVE TO THIS PROJECT.
2 | //THIS NEEDS TO BE DEFINED BEFORE CoreOF.xcconfig IS INCLUDED
3 | OF_PATH = ../../..
4 |
5 | //THIS HAS ALL THE HEADER AND LIBS FOR OF CORE
6 | #include "../../../libs/openFrameworksCompiled/project/ios/CoreOF.xcconfig"
7 |
8 | OTHER_LDFLAGS = $(OF_CORE_LIBS)
9 | HEADER_SEARCH_PATHS = $(OF_CORE_HEADERS)
10 |
11 | COMPRESS_PNG_FILES = NO
12 | GCC_THUMB_SUPPORT = NO
13 | IPHONEOS_DEPLOYMENT_TARGET = 3.1
14 | TARGETED_DEVICE_FAMILY = 1
15 |
--------------------------------------------------------------------------------
/bin/data/markers.yml:
--------------------------------------------------------------------------------
1 | %YAML:1.0
2 | marker_files:
3 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetA1.jpg"
4 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetA2.jpg"
5 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetA3.jpg"
6 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetB1.jpg"
7 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetB2.jpg"
8 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetB3.jpg"
9 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetC1.jpg"
10 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetC2.jpg"
11 | - "/Users/roy_shilkrot/Dropbox/ImageTracker/targetC3.jpg"
12 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleName
6 | OpenCV
7 | CFBundleIdentifier
8 | com.itseez.opencv
9 | CFBundleVersion
10 | 2.4
11 | CFBundleShortVersionString
12 | 2.4
13 | CFBundleSignature
14 | ????
15 | CFBundlePackageType
16 | FMWK
17 |
18 |
19 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/opencv_modules.hpp:
--------------------------------------------------------------------------------
1 | /*
2 | * ** File generated automatically, do not modify **
3 | *
4 | * This file defines the list of modules available in current build configuration
5 | *
6 | *
7 | */
8 |
9 | #define HAVE_OPENCV_CALIB3D
10 | #define HAVE_OPENCV_CONTRIB
11 | #define HAVE_OPENCV_CORE
12 | #define HAVE_OPENCV_FEATURES2D
13 | #define HAVE_OPENCV_FLANN
14 | #define HAVE_OPENCV_HIGHGUI
15 | #define HAVE_OPENCV_IMGPROC
16 | #define HAVE_OPENCV_LEGACY
17 | #define HAVE_OPENCV_ML
18 | #define HAVE_OPENCV_NONFREE
19 | #define HAVE_OPENCV_OBJDETECT
20 | #define HAVE_OPENCV_PHOTO
21 | #define HAVE_OPENCV_STITCHING
22 | #define HAVE_OPENCV_VIDEO
23 | #define HAVE_OPENCV_VIDEOSTAB
24 | #define HAVE_OPENCV_WORLD
25 |
26 |
27 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ofxNaturalFeatureTracker
2 | A natural features image tracker, detector and Augmented Reality engine. An alternatve to the proprietary AR engine from Qualcomm used in ofxQCAR.
3 |
4 | ## Building and Using
5 |
6 | Import the ImageTrackerLib.h and ImageTrackerLib.mm files to your oF project.
7 |
8 | See the example in ofApp.mm to understand how the tracker works.
9 | The API is rather similar to ofxQCAR.
10 |
11 | Remember to also add (drag) opencv2.framework to your project. It is compiled only for armv7 iOS devices, and is version 2.4.3 (version 2.4.10 did not compile properly for iOS).
12 | OpenCV can be compiled for all iOS version including the simulator by downloading the desired 2.4.X from the repo (for example https://github.com/Itseez/opencv/tree/2.4.3) and running the iOS framework build script in ‘ios/build_framework.py’.
--------------------------------------------------------------------------------
/src/ofApp.h:
--------------------------------------------------------------------------------
1 | #pragma once
2 |
3 | #include "ofMain.h"
4 | #include "ofxiOS.h"
5 | #include "ofxiOSExtras.h"
6 |
7 | #include
8 | #import
9 | using namespace cv;
10 |
11 |
12 | #include "ImageTrackerLib.h"
13 |
14 | using namespace ImageTrackerLib;
15 |
16 | class ofApp : public ofxiOSApp{
17 | ofPtr trackers;
18 |
19 | ofVideoGrabber grabber;
20 |
21 | public:
22 | void setup();
23 | void update();
24 | void draw();
25 | void exit();
26 |
27 | void touchDown(ofTouchEventArgs & touch);
28 | void touchMoved(ofTouchEventArgs & touch);
29 | void touchUp(ofTouchEventArgs & touch);
30 | void touchDoubleTap(ofTouchEventArgs & touch);
31 | void touchCancelled(ofTouchEventArgs & touch);
32 |
33 | void lostFocus();
34 | void gotFocus();
35 | void gotMemoryWarning();
36 | void deviceOrientationChanged(int newOrientation);
37 |
38 | };
39 |
40 |
41 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015 Roy Shilkrot
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/ofxiOS-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIconFile
12 |
13 | CFBundleIcons
14 |
15 | CFBundlePrimaryIcon
16 |
17 | CFBundleIconFiles
18 |
19 | Icon.png
20 | Icon@2x.png
21 |
22 |
23 |
24 | CFBundleIdentifier
25 | ${PRODUCT_NAME:identifier}
26 | CFBundleInfoDictionaryVersion
27 | 6.0
28 | CFBundleName
29 | ${PRODUCT_NAME}
30 | CFBundlePackageType
31 | APPL
32 | CFBundleShortVersionString
33 | 1.0
34 | CFBundleSignature
35 | ????
36 | CFBundleVersion
37 | 1.0
38 | LSRequiresIPhoneOS
39 |
40 | UIApplicationExitsOnSuspend
41 |
42 | UIStatusBarHidden
43 |
44 | UISupportedInterfaceOrientations
45 |
46 | UIInterfaceOrientationPortrait
47 | UIInterfaceOrientationPortraitUpsideDown
48 | UIInterfaceOrientationLandscapeLeft
49 | UIInterfaceOrientationLandscapeRight
50 |
51 | UISupportedInterfaceOrientations~ipad
52 |
53 | UIInterfaceOrientationLandscapeRight
54 |
55 | UIViewControllerBasedStatusBarAppearance
56 |
57 |
58 |
59 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/flann/config.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | * Software License Agreement (BSD License)
3 | *
4 | * Copyright 2008-2011 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
5 | * Copyright 2008-2011 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
6 | *
7 | * Redistribution and use in source and binary forms, with or without
8 | * modification, are permitted provided that the following conditions
9 | * are met:
10 | *
11 | * 1. Redistributions of source code must retain the above copyright
12 | * notice, this list of conditions and the following disclaimer.
13 | * 2. Redistributions in binary form must reproduce the above copyright
14 | * notice, this list of conditions and the following disclaimer in the
15 | * documentation and/or other materials provided with the distribution.
16 | *
17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 | *************************************************************************/
28 |
29 |
30 | #ifndef OPENCV_FLANN_CONFIG_H_
31 | #define OPENCV_FLANN_CONFIG_H_
32 |
33 | #ifdef FLANN_VERSION_
34 | #undef FLANN_VERSION_
35 | #endif
36 | #define FLANN_VERSION_ "1.6.10"
37 |
38 | #endif /* OPENCV_FLANN_CONFIG_H_ */
39 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/flann/general.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | * Software License Agreement (BSD License)
3 | *
4 | * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
5 | * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
6 | *
7 | * THE BSD LICENSE
8 | *
9 | * Redistribution and use in source and binary forms, with or without
10 | * modification, are permitted provided that the following conditions
11 | * are met:
12 | *
13 | * 1. Redistributions of source code must retain the above copyright
14 | * notice, this list of conditions and the following disclaimer.
15 | * 2. Redistributions in binary form must reproduce the above copyright
16 | * notice, this list of conditions and the following disclaimer in the
17 | * documentation and/or other materials provided with the distribution.
18 | *
19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | *************************************************************************/
30 |
31 | #ifndef OPENCV_FLANN_GENERAL_H_
32 | #define OPENCV_FLANN_GENERAL_H_
33 |
34 | #include "defines.h"
35 | #include
36 | #include
37 |
38 | namespace cvflann
39 | {
40 |
41 | class FLANNException : public std::runtime_error
42 | {
43 | public:
44 | FLANNException(const char* message) : std::runtime_error(message) { }
45 |
46 | FLANNException(const std::string& message) : std::runtime_error(message) { }
47 | };
48 |
49 | }
50 |
51 |
52 | #endif /* OPENCV_FLANN_GENERAL_H_ */
53 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/core/devmem2d.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other GpuMaterials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #include "opencv2/core/cuda_devptrs.hpp"
44 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/videostab/videostab.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_VIDEOSTAB_HPP__
44 | #define __OPENCV_VIDEOSTAB_HPP__
45 |
46 | #include "opencv2/videostab/stabilizer.hpp"
47 |
48 | #endif
49 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/world/world.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009-2010, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_WORLD_HPP__
44 | #define __OPENCV_WORLD_HPP__
45 |
46 | #include "opencv2/core/core.hpp"
47 |
48 | #ifdef __cplusplus
49 | namespace cv
50 | {
51 |
52 | CV_EXPORTS_W bool initAll();
53 |
54 | }
55 |
56 | #endif
57 |
58 | #endif
59 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/nonfree/nonfree.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009-2012, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_NONFREE_HPP__
44 | #define __OPENCV_NONFREE_HPP__
45 |
46 | #include "opencv2/nonfree/features2d.hpp"
47 |
48 | namespace cv
49 | {
50 |
51 | CV_EXPORTS_W bool initModule_nonfree();
52 |
53 | }
54 |
55 | #endif
56 |
57 | /* End of file. */
58 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/video/video.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_VIDEO_HPP__
44 | #define __OPENCV_VIDEO_HPP__
45 |
46 | #include "opencv2/video/tracking.hpp"
47 | #include "opencv2/video/background_segm.hpp"
48 |
49 | #ifdef __cplusplus
50 | namespace cv
51 | {
52 |
53 | CV_EXPORTS bool initModule_video(void);
54 |
55 | }
56 | #endif
57 |
58 | #endif //__OPENCV_VIDEO_HPP__
59 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/core/version.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 | //
10 | // Intel License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright( C) 2000, Intel Corporation, all rights reserved.
14 | // Third party copyrights are property of their respective owners.
15 | //
16 | // Redistribution and use in source and binary forms, with or without modification,
17 | // are permitted provided that the following conditions are met:
18 | //
19 | // * Redistribution's of source code must retain the above copyright notice,
20 | // this list of conditions and the following disclaimer.
21 | //
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.
25 | //
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.
28 | //
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.
39 | //
40 | //M*/
41 |
42 | /*
43 | definition of the current version of OpenCV
44 | Usefull to test in user programs
45 | */
46 |
47 | #ifndef __OPENCV_VERSION_HPP__
48 | #define __OPENCV_VERSION_HPP__
49 |
50 | #define CV_MAJOR_VERSION 2
51 | #define CV_MINOR_VERSION 4
52 | #define CV_SUBMINOR_VERSION 3
53 |
54 | #define CVAUX_STR_EXP(__A) #__A
55 | #define CVAUX_STR(__A) CVAUX_STR_EXP(__A)
56 | #define CV_VERSION CVAUX_STR(CV_MAJOR_VERSION) "." CVAUX_STR(CV_MINOR_VERSION) "." CVAUX_STR(CV_SUBMINOR_VERSION)
57 |
58 | #endif
59 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/flann/timer.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | * Software License Agreement (BSD License)
3 | *
4 | * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
5 | * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
6 | *
7 | * THE BSD LICENSE
8 | *
9 | * Redistribution and use in source and binary forms, with or without
10 | * modification, are permitted provided that the following conditions
11 | * are met:
12 | *
13 | * 1. Redistributions of source code must retain the above copyright
14 | * notice, this list of conditions and the following disclaimer.
15 | * 2. Redistributions in binary form must reproduce the above copyright
16 | * notice, this list of conditions and the following disclaimer in the
17 | * documentation and/or other materials provided with the distribution.
18 | *
19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | *************************************************************************/
30 |
31 | #ifndef OPENCV_FLANN_TIMER_H
32 | #define OPENCV_FLANN_TIMER_H
33 |
34 | #include
35 |
36 |
37 | namespace cvflann
38 | {
39 |
40 | /**
41 | * A start-stop timer class.
42 | *
43 | * Can be used to time portions of code.
44 | */
45 | class StartStopTimer
46 | {
47 | clock_t startTime;
48 |
49 | public:
50 | /**
51 | * Value of the timer.
52 | */
53 | double value;
54 |
55 |
56 | /**
57 | * Constructor.
58 | */
59 | StartStopTimer()
60 | {
61 | reset();
62 | }
63 |
64 | /**
65 | * Starts the timer.
66 | */
67 | void start()
68 | {
69 | startTime = clock();
70 | }
71 |
72 | /**
73 | * Stops the timer and updates timer value.
74 | */
75 | void stop()
76 | {
77 | clock_t stopTime = clock();
78 | value += ( (double)stopTime - startTime) / CLOCKS_PER_SEC;
79 | }
80 |
81 | /**
82 | * Resets the timer value to 0.
83 | */
84 | void reset()
85 | {
86 | value = 0;
87 | }
88 |
89 | };
90 |
91 | }
92 |
93 | #endif // FLANN_TIMER_H
94 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/photo/photo_c.h:
--------------------------------------------------------------------------------
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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2008-2012, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_PHOTO_C_H__
44 | #define __OPENCV_PHOTO_C_H__
45 |
46 | #include "opencv2/core/core_c.h"
47 |
48 | #ifdef __cplusplus
49 | extern "C" {
50 | #endif
51 |
52 | /* Inpainting algorithms */
53 | enum
54 | {
55 | CV_INPAINT_NS =0,
56 | CV_INPAINT_TELEA =1
57 | };
58 |
59 |
60 | /* Inpaints the selected region in the image */
61 | CVAPI(void) cvInpaint( const CvArr* src, const CvArr* inpaint_mask,
62 | CvArr* dst, double inpaintRange, int flags );
63 |
64 |
65 | #ifdef __cplusplus
66 | } //extern "C"
67 | #endif
68 |
69 | #endif //__OPENCV_PHOTO_C_H__
70 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/opencv.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009-2010, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_ALL_HPP__
44 | #define __OPENCV_ALL_HPP__
45 |
46 | #include "opencv2/core/core_c.h"
47 | #include "opencv2/core/core.hpp"
48 | #include "opencv2/flann/miniflann.hpp"
49 | #include "opencv2/imgproc/imgproc_c.h"
50 | #include "opencv2/imgproc/imgproc.hpp"
51 | #include "opencv2/photo/photo.hpp"
52 | #include "opencv2/video/video.hpp"
53 | #include "opencv2/features2d/features2d.hpp"
54 | #include "opencv2/objdetect/objdetect.hpp"
55 | #include "opencv2/calib3d/calib3d.hpp"
56 | #include "opencv2/ml/ml.hpp"
57 | #include "opencv2/highgui/highgui_c.h"
58 | #include "opencv2/highgui/highgui.hpp"
59 | #include "opencv2/contrib/contrib.hpp"
60 |
61 | #endif
62 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/videostab/log.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009-2011, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_VIDEOSTAB_LOG_HPP__
44 | #define __OPENCV_VIDEOSTAB_LOG_HPP__
45 |
46 | #include "opencv2/core/core.hpp"
47 |
48 | namespace cv
49 | {
50 | namespace videostab
51 | {
52 |
53 | class CV_EXPORTS ILog
54 | {
55 | public:
56 | virtual ~ILog() {}
57 | virtual void print(const char *format, ...) = 0;
58 | };
59 |
60 | class CV_EXPORTS NullLog : public ILog
61 | {
62 | public:
63 | virtual void print(const char * /*format*/, ...) {}
64 | };
65 |
66 | class CV_EXPORTS LogToStdout : public ILog
67 | {
68 | public:
69 | virtual void print(const char *format, ...);
70 | };
71 |
72 | } // namespace videostab
73 | } // namespace cv
74 |
75 | #endif
76 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/stitching/detail/camera.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 | //
10 | // License Agreement
11 | // For Open Source Computer Vision Library
12 | //
13 | // Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
14 | // Copyright (C) 2009, Willow Garage Inc., all rights reserved.
15 | // Third party copyrights are property of their respective owners.
16 | //
17 | // Redistribution and use in source and binary forms, with or without modification,
18 | // are permitted provided that the following conditions are met:
19 | //
20 | // * Redistribution's of source code must retain the above copyright notice,
21 | // this list of conditions and the following disclaimer.
22 | //
23 | // * Redistribution's in binary form must reproduce the above copyright notice,
24 | // this list of conditions and the following disclaimer in the documentation
25 | // and/or other materials provided with the distribution.
26 | //
27 | // * The name of the copyright holders may not be used to endorse or promote products
28 | // derived from this software without specific prior written permission.
29 | //
30 | // This software is provided by the copyright holders and contributors "as is" and
31 | // any express or implied warranties, including, but not limited to, the implied
32 | // warranties of merchantability and fitness for a particular purpose are disclaimed.
33 | // In no event shall the Intel Corporation or contributors be liable for any direct,
34 | // indirect, incidental, special, exemplary, or consequential damages
35 | // (including, but not limited to, procurement of substitute goods or services;
36 | // loss of use, data, or profits; or business interruption) however caused
37 | // and on any theory of liability, whether in contract, strict liability,
38 | // or tort (including negligence or otherwise) arising in any way out of
39 | // the use of this software, even if advised of the possibility of such damage.
40 | //
41 | //M*/
42 |
43 | #ifndef __OPENCV_STITCHING_CAMERA_HPP__
44 | #define __OPENCV_STITCHING_CAMERA_HPP__
45 |
46 | #include "opencv2/core/core.hpp"
47 |
48 | namespace cv {
49 | namespace detail {
50 |
51 | struct CV_EXPORTS CameraParams
52 | {
53 | CameraParams();
54 | CameraParams(const CameraParams& other);
55 | const CameraParams& operator =(const CameraParams& other);
56 | Mat K() const;
57 |
58 | double focal; // Focal length
59 | double aspect; // Aspect ratio
60 | double ppx; // Principal point X
61 | double ppy; // Principal point Y
62 | Mat R; // Rotation
63 | Mat t; // Translation
64 | };
65 |
66 | } // namespace detail
67 | } // namespace cv
68 |
69 | #endif // #ifndef __OPENCV_STITCHING_CAMERA_HPP__
70 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/flann/sampling.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | * Software License Agreement (BSD License)
3 | *
4 | * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
5 | * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
6 | *
7 | * Redistribution and use in source and binary forms, with or without
8 | * modification, are permitted provided that the following conditions
9 | * are met:
10 | *
11 | * 1. Redistributions of source code must retain the above copyright
12 | * notice, this list of conditions and the following disclaimer.
13 | * 2. Redistributions in binary form must reproduce the above copyright
14 | * notice, this list of conditions and the following disclaimer in the
15 | * documentation and/or other materials provided with the distribution.
16 | *
17 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 | *************************************************************************/
28 |
29 |
30 | #ifndef OPENCV_FLANN_SAMPLING_H_
31 | #define OPENCV_FLANN_SAMPLING_H_
32 |
33 | #include "matrix.h"
34 | #include "random.h"
35 |
36 | namespace cvflann
37 | {
38 |
39 | template
40 | Matrix random_sample(Matrix& srcMatrix, long size, bool remove = false)
41 | {
42 | Matrix newSet(new T[size * srcMatrix.cols], size,srcMatrix.cols);
43 |
44 | T* src,* dest;
45 | for (long i=0; i
63 | Matrix random_sample(const Matrix& srcMatrix, size_t size)
64 | {
65 | UniqueRandom rand((int)srcMatrix.rows);
66 | Matrix newSet(new T[size * srcMatrix.cols], size,srcMatrix.cols);
67 |
68 | T* src,* dest;
69 | for (size_t i=0; i &features,
57 | const std::vector &pairwise_matches,
58 | std::vector &focals);
59 |
60 | bool CV_EXPORTS calibrateRotatingCamera(const std::vector &Hs, Mat &K);
61 |
62 | } // namespace detail
63 | } // namespace cv
64 |
65 | #endif // __OPENCV_STITCHING_AUTOCALIB_HPP__
66 |
--------------------------------------------------------------------------------
/lib/opencv2.framework/Versions/A/Headers/flann/object_factory.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 | * Software License Agreement (BSD License)
3 | *
4 | * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
5 | * Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
6 | *
7 | * THE BSD LICENSE
8 | *
9 | * Redistribution and use in source and binary forms, with or without
10 | * modification, are permitted provided that the following conditions
11 | * are met:
12 | *
13 | * 1. Redistributions of source code must retain the above copyright
14 | * notice, this list of conditions and the following disclaimer.
15 | * 2. Redistributions in binary form must reproduce the above copyright
16 | * notice, this list of conditions and the following disclaimer in the
17 | * documentation and/or other materials provided with the distribution.
18 | *
19 | * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 | * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 | * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 | * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 | * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 | * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | *************************************************************************/
30 |
31 | #ifndef OPENCV_FLANN_OBJECT_FACTORY_H_
32 | #define OPENCV_FLANN_OBJECT_FACTORY_H_
33 |
34 | #include