资源简介
在Win32平台下编译的ptam 与ptamm项目,摄像头是依赖与opencv库。
代码片段和文件信息
/*
** The OpenGL Extension Wrangler Library
** Copyright (C) 2002-2008 Milan Ikits
** Copyright (C) 2002-2008 Marcelo E. Magallon
** Copyright (C) 2002 Lev Povalahev
** All rights reserved.
**
** Redistribution and use in source and binary forms with or without
** modification are permitted provided that the following conditions are met:
**
** * Redistributions of source code must retain the above copyright notice
** this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright notice
** this list of conditions and the following disclaimer in the documentation
** and/or other materials provided with the distribution.
** * The name of the author may be used to endorse or promote products
** derived from this software without specific prior written permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
** AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
** LIABLE FOR ANY DIRECT INDIRECT INCIDENTAL SPECIAL EXEMPLARY OR
** CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO PROCUREMENT OF
** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA OR PROFITS; OR BUSINESS
** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY WHETHER IN
** CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF ADVISED OF
** THE POSSIBILITY OF SUCH DAMAGE.
*/
#include
#if defined(_WIN32)
# include
#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
# include
#endif
/*
* Define glewGetContext and related helper macros.
*/
#ifdef GLEW_MX
# define glewGetContext() ctx
# ifdef _WIN32
# define GLEW_CONTEXT_ARG_DEF_INIT GLEWContext* ctx
# define GLEW_CONTEXT_ARG_VAR_INIT ctx
# define wglewGetContext() ctx
# define WGLEW_CONTEXT_ARG_DEF_INIT WGLEWContext* ctx
# define WGLEW_CONTEXT_ARG_DEF_LIST WGLEWContext* ctx
# else /* _WIN32 */
# define GLEW_CONTEXT_ARG_DEF_INIT void
# define GLEW_CONTEXT_ARG_VAR_INIT
# define glxewGetContext() ctx
# define GLXEW_CONTEXT_ARG_DEF_INIT void
# define GLXEW_CONTEXT_ARG_DEF_LIST GLXEWContext* ctx
# endif /* _WIN32 */
# define GLEW_CONTEXT_ARG_DEF_LIST GLEWContext* ctx
#else /* GLEW_MX */
# define GLEW_CONTEXT_ARG_DEF_INIT void
# define GLEW_CONTEXT_ARG_VAR_INIT
# define GLEW_CONTEXT_ARG_DEF_LIST void
# define WGLEW_CONTEXT_ARG_DEF_INIT void
# define WGLEW_CONTEXT_ARG_DEF_LIST void
# define GLXEW_CONTEXT_ARG_DEF_INIT void
# define GLXEW_CONTEXT_ARG_DEF_LIST void
#endif /* GLEW_MX */
#if defined(__APPLE__)
#include
#include
#include <
相关资源
- opencv3.4.3 mingw32编译
- 圆形公章的定位检测
-
haarcascade_mcs等所有识别xm
l文件 - 利用OpenCV在VS2015平台下对进行人脸识
- hand-gesture-recognition-opencv-master.zip
- imageStitching实现图像拼接
- 圆点摄像头激光测距源代码---本人亲
- opencv图像分类样本
- 32位 opencv 3.4.1 lib和dll文件
- 基于OpenCV的红绿灯识别
- opencv手写英文字符识别
- OpenCV测试工程
- 基于Opencv3.0生成的dll
- arm版opencv-2.4.9
- opencv3 图片外接矩形框
- OPENCV 合成两张焦点不同,图像相同的
- OPENCV 找出图片焦点
- 《视觉系统设计》
- opencv1.0.0版本
- 相机标定完整工程
- VIBE算法原理及openCV源程序
- 主流VIO技术综述及VINS解析_崔华坤等
- opencv+zbar实现摄像头二维码识别
- opencv学习---运动目标前景检测
- 新手学习opencv--基于Hog的视频行人检测
- 通过Kinect v2.0+ VS2012+openCV2.4.9将彩色帧
- Mastering OpenCV中文版
- vs2008下实现二维码扫描,图片扫描,
- 基于opencv2.4.9的车牌定位、倾斜校正、
- OpenCV张正友相机标定程序,附实验数
评论
共有 条评论