资源简介
在进行图像处理相关DSP编程时,需要移植opencv到CCS平台。作者提供了将Opencv(1.0版本)的cxcore函数库移植到CCS的静态链接库cxcore.lib,以及其生成工程,该例程经作者编译听通过(ccs3.3版本)。由于工程中产生的obj文件和lib文件太大,在工程中已经将其删除,读者在使用时,只需要对工程重新编译即可。最后将生成的cxcore.lib添加到CCS的工程中即可(不要忘了添加相应的头文件),由于cxcore.lib一般和cv.lib配套使用,读者在下载cxcore.lib时也一并将cv.lib下载。作者也提供了将cv.lib与cxcore.lib添加到工程中的实验例程,并且该例程编译通过。也希望读者在该论坛找到该例程将其一并下载,配合使用。

代码片段和文件信息
/*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING COPYING INSTALLING OR USING.
//
// By downloading copying installing or using the software you agree to this license.
// If you do not agree to this license do not download install
// copy or use the software.
//
//
// Intel License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2000 Intel Corporation all rights reserved.
// Third party copyrights are property of their respective owners.
//
// Redistribution and use in source and binary forms with or without modification
// are permitted provided that the following conditions are met:
//
// * Redistribution‘s of source code must retain the above copyright notice
// this list of conditions and the following disclaimer.
//
// * Redistribution‘s 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 Intel Corporation may not 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 Intel Corporation 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.
//
//M*/
#include “_cxcore.h“
// default
static void*
icvDefaultAlloc( size_t size void* )
{
char *ptr *ptr0 = (char*)malloc(
(size_t)(size + CV_MALLOC_ALIGN*((size >= 4096) + 1) + sizeof(char*)));
if( !ptr0 )
return 0;
// align the pointer
ptr = (char*)cvAlignPtr(ptr0 + sizeof(char*) + 1 CV_MALLOC_ALIGN);
*(char**)(ptr - sizeof(char*)) = ptr0;
return ptr;
}
// default
static int
icvDefaultFree( void* ptr void* )
{
// Pointer must be aligned by CV_MALLOC_ALIGN
if( ((size_t)ptr & (CV_MALLOC_ALIGN-1)) != 0 )
return CV_BADARG_ERR;
free( *((char**)ptr - 1) );
return CV_OK;
}
// pointers to allocation functions initially set to default
static CvAllocFunc p_cvAlloc = (CvAllocFunc)icvDefaultAlloc;
static CvFreeFunc p_cvFree = (CvFreeFunc)icvDefaultF
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-06-21 13:21 cxcore\
文件 60729 2013-06-22 09:25 cxcore\cc_build_Debug.log
文件 18935 2013-06-22 09:26 cxcore\cxcore.paf2
文件 1978 2013-06-22 09:26 cxcore\cxcore.pjt
文件 8417 2013-06-22 09:26 cxcore\cxcore.sbl
文件 2235 2013-06-22 09:25 cxcore\Debug.lkf
目录 0 2013-06-22 09:05 cxcore\include\
文件 55272 2006-09-27 20:02 cxcore\include\cv.h
文件 16143 2006-09-06 15:40 cxcore\include\cv.hpp
文件 41738 2006-07-12 19:47 cxcore\include\cvcompat.h
文件 4182 2006-07-13 18:17 cxcore\include\cvstreams.h
文件 12868 2005-11-22 21:42 cxcore\include\cvtypes.h
文件 2425 2006-10-12 22:42 cxcore\include\cvver.h
文件 74979 2006-09-20 17:09 cxcore\include\cxcore.h
文件 12681 2006-10-06 19:59 cxcore\include\cxcore.hpp
文件 8881 2006-09-06 17:24 cxcore\include\cxerror.h
文件 48332 2013-06-20 13:46 cxcore\include\cxmisc.h
文件 53467 2006-09-08 19:33 cxcore\include\cxtypes.h
文件 129 2013-06-22 01:06 cxcore\include\dlfcn.h
文件 0 2013-06-22 01:07 cxcore\include\新建文本文档.txt
目录 0 2013-06-22 09:16 cxcore\src\
文件 4291 2013-06-22 00:05 cxcore\src\cxalloc.cpp
文件 85637 2006-07-05 17:43 cxcore\src\cxarithm.cpp
文件 94864 2013-06-22 00:05 cxcore\src\cxarray.cpp
文件 60633 2006-08-01 21:24 cxcore\src\cxcmp.cpp
文件 77498 2006-06-30 11:40 cxcore\src\cxconvert.cpp
文件 35005 2006-05-24 12:51 cxcore\src\cxcopy.cpp
文件 109715 2006-06-20 16:41 cxcore\src\cxdatastructs.cpp
文件 83669 2013-06-22 00:05 cxcore\src\cxdrawing.cpp
文件 126637 2006-09-01 19:56 cxcore\src\cxdxt.cpp
文件 14140 2013-06-22 00:09 cxcore\src\cxerror.cpp
............此处省略24个文件信息
相关资源
- CVSNT 完整覆盖版防TortoiseCVS中文乱码
- ccs官方软件及安装
- CCS中如何生成LIB文件-并在另外CCS项目
- CCS5.05.1可使用的license
- TI CCS V5.4 安装步骤及破解文件
- CCSv9链接及安装流程详解
- 基于OpenCV的数字识别468815
- 使用opencv去掉二值化图像中黑色面积
- CVI下的TCP服务器和客户端
- FIR低通滤波器 ccs运行环境
- 高校学生信息管理系统
- opencv环境配置
- win10 64位下编译的opencv4.5.5库,opencv
- CVSNT中文完美稳定版
- FMEDesktop2019特别版forMacv2019.0.0.0.19181苹
- Labwindows/CVI下Excel打开、读写操作
- NVIDIAOpticalFlowSDK-79c6cee80a2df9a196f20afd6
- opencv_contrib-3.4.0.zip
- opencv2.4.9源码分析——SIFT
- 用两个摄像头实现,双目标定,双目
- opencv_traincascade训练分类器,手势识别
- opencv3.0交叉编译用parallel.cpp
- 基于opencv的图像识别识别图像中的色
- 基于openCV的识别特定颜色区域
- 基于OpenCV的分水岭算法实现
- QT+opencv+OCR 身份证号码,银行卡号识别
- opencv视频特定颜色区域识别
- 把RGB转换为HSV和HSI然后根据黄色和蓝
- opencv视觉测距
- 基于Qt和opencv的身份证号码识别系统
评论
共有 条评论