资源简介
在进行图像处理相关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个文件信息
相关资源
- Caffe安装支持文件
- opencv调用摄像头捕捉并进行人脸识别
- opencv+串口通讯
- 图像处理源码 opencv图像处理源码
- CVTE经典面试题目,考察80%模电功底
- Hi3516C V300R001C01SPC002 SDK开发包
- opencv2.4.9opencv_createsamples.exe和opencv_h
- CCS6.2版本Dsp28335工程(包含基本模块的
- CVE-2017-16995脚本
- LSD-直线检测源码
- CVPR2018论文979篇.txt
- Opencv 特征点提取 代码
- Opencv 各种特征点提取和匹配
- opencv调用摄像头并截图保存
- KinectV2 opencv qt 实现平面测量
- opencv_createsamples.exe opencv_traincascade.
- CvvImage类
- OpenCv视频采集
- OPENCV人脸检测程序可直接运行
- kinect深度图像去噪
- LabWindows CVI 3D graph控件编程
- 用OpenCV实现Photoshop算法(九): 高反差
- 用OpenCV实现Photoshop算法_调整色相饱和
- opencv 人数统计
- Opencv学习视频
- opencv_world310.lib文件
- 非常详细的ccs使用教程DSP编程软件
- OpenCv2 轮廓提取源代码VS2008
- opencv2.4.4
- emwin工具集合(GuiBuilderSetupFontCvt等)
评论
共有 条评论