/*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.
//
//
// License Agreement
// For Open Source Computer Vision Library
//
// Copyright (C) 2000-2008, Intel Corporation, all rights reserved.
// Copyright (C) 2009, Willow Garage Inc., all rights reserved.
// Copyright (C) 2013, OpenCV Foundation, 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 the copyright holders 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*/
#ifndef __OPENCV_CORE_C_H__
#define __OPENCV_CORE_C_H__
#include "opencv2/core/types_c.h"
#ifdef __cplusplus
# ifdef _MSC_VER
/* disable warning C4190: 'function' has C-linkage specified, but returns UDT 'typename'
which is incompatible with C
It is OK to disable it because we only extend few plain structures with
C++ construrtors for simpler interoperability with C++ API of the library
*/
# pragma warning(disable:4190)
# elif defined __clang__ && __clang_major__ >= 3
# pragma GCC diagnostic ignored "-Wreturn-type-c-linkage"
# endif
#endif
#ifdef __cplusplus
extern "C" {
#endif
/** @addtogroup core_c
@{
*/
/****************************************************************************************\
* Array allocation, deallocation, initialization and access to elements *
\****************************************************************************************/
/** `malloc` wrapper.
If there is no enough memory, the function
(as well as other OpenCV functions that call cvAlloc)
raises an error. */
CVAPI(void*) cvAlloc( size_t size );
/** `free` wrapper.
Here and further all the memory releasing functions
(that all call cvFree) take double pointer in order to
to clear pointer to the data after releasing it.
Passing pointer to NULL pointer is Ok: nothing happens in this case
*/
CVAPI(void) cvFree_( void* ptr );
#define cvFree(ptr) (cvFree_(*(ptr)), *(ptr)=0)
/** @brief Creates an image header but does not allocate the image data.
@param size Image width and height
@param depth Image depth (see cvCreateImage )
@param channels Number of channels (see cvCreateImage )
*/
CVAPI(IplImage*) cvCreateImageHeader( CvSize size, int depth, int channels );
/** @brief Initializes an image header that was previously allocated.
The returned IplImage\* points to the initialized header.
@param image Image header to initialize
@param size Image width and height
@param depth Image depth (see cvCreateImage )
@param channels Number of channels (see cvCreateImage )
@param origin Top-left IPL_ORIGIN_TL or bottom-left IPL_ORIGIN_BL
@param align Alignment for image rows, typically 4 or 8 bytes
*/
CVAPI(IplImage*) cvInitImageHeader( IplImage* image, CvSize size, int depth,
int channels, int origin CV_DEFAULT(0),
int align CV_DEFAULT(4));
/** @brief Creates an image header and allocates the image data.
This function call is equivalent to the following code:
@code
header = cvCreateImageHeader(size, depth, channels);
cvCreateData(header);
@endcode
@param size Image width and height
@param depth Bit depth of image elements. See IplImage for valid depths.
@param channels Number of channels per pixel. See IplImage for details. This function only creates
images with interleaved channels.
*/
CVAPI(IplImage*) cvCreateImage( CvSize size, int depth, int channels );
/** @brief Deallocates an image header.
This call is an analogue of :
@code
if(image )
{
iplDeallocate(*image, IPL_IMAGE_HEADER | IPL_IMAGE_ROI);
*image = 0;
}
@endcode
but it does not use IPL functions by default (see the CV_TURN_ON_IPL_COMPATIBILITY macro).
@param image Double pointer to the image header
*/
CVAPI(void) cvReleaseImageHeader( IplImage** image );
/** @brief Deallocates the image header and the image data.
This call is a shortened form of :
@code
if(*image )
{
cvReleaseData(*image);
cvReleaseImageHeader(image);
}
@endcode
@param image Double pointer to the image header
*/
CVAPI(void) cvReleaseImage( IplImage** image );
/** Creates a copy of IPL image (widthStep may differ) */
CVAPI(IplImage*) cvCloneImage( const IplImage* image );
/** @brief Sets the channel of interest in an IplImage.
If the ROI is set to NULL and the coi is *not* 0, the ROI is allocated. Most OpenCV functions do
*not* support the COI setting, so to process an individual image/matrix channel one may copy (via
cvCopy or cvSplit) the channel to a separate image/matrix, process it and then copy the result
back (via cvCopy or cvMerge) if needed.
@param image A pointer to the image header
@param coi The channel of interest. 0 - all channels are selected, 1 - first channel is selected,
etc. Note that the channel indices become 1-based.
*/
CVAPI(void) cvSetImageCOI( IplImage* image, int coi );
/** @brief Returns the index of the channel of interest.
Returns the channel of interest of in an IplImage. Returned values correspond to the coi in
cvSetImageCOI.
@param image A pointer to the image header
*/
CVAPI(int) cvGetImageCOI( const IplImage* image );
/** @brief Sets an image Region Of Interest (ROI) for a given rectangle.
If the original image ROI was NULL and the rect is not the whole image, the ROI structure is
allocated.
Most OpenCV functions support the use of ROI and treat the image rectangle as a separate image. For
example, all of the pixel coordinates are counted from the top-left (or bottom-left) corner of the
ROI, not the original image.
@param image A pointer to the image header
@param rect The ROI rectangle
*/
CVAPI(void) cvSetImageROI( IplImage* image, CvRect rect );
/** @brief Resets the image ROI to include the entire image and releases the ROI structure.
This produces a similar result to the following, but in addition it releases the ROI structure. :
@code
cvSetImageROI(image, cvRect(0, 0, image->width, image->height ));
cvSetImageCOI(image, 0);
@endcode
@param image A pointer to the image header
*/
CVAPI(void) cvResetImageROI( IplImage* image );
/** @brief Returns the image ROI.
If there is no ROI set, cvRect(0,0,image-\>width,image-\>height) is returned.
@param image A pointer to the image head
没有合适的资源?快使用搜索试试~ 我知道了~
openpose-cpu-windows
共529个文件
hpp:297个
dll:97个
h:56个
2星 需积分: 50 69 下载量 107 浏览量
2018-11-01
16:27:50
上传
评论 1
收藏 228.85MB ZIP 举报
温馨提示
openpose-1.4.0-win64-cpu-binaries.zip openpose的最新windows CPU版本
资源推荐
资源详情
资源评论
收起资源包目录
openpose-cpu-windows (529个子文件)
video.avi 1.33MB
getModels.bat 2KB
SpinView_WPF.config 1KB
COPYING 35KB
wget.exe.debug 1.44MB
Spinnakerd_v140.dll 83.19MB
cudnn64_5.dll 79.3MB
curand64_80.dll 45.78MB
opencv_world310.dll 41.17MB
cublas64_80.dll 39.76MB
libopenblas.dll 36.56MB
Spinnaker_v140.dll 34.43MB
avcodec-57.dll 28.11MB
opencv_imgproc310.dll 24.39MB
caffe-d.dll 14.57MB
opencv_ffmpeg310_64.dll 12.35MB
opencv_core310.dll 10.54MB
avformat-57.dll 6.59MB
GenTLd_v140.dll 5.78MB
SpinUpdated_v140.dll 5.37MB
caffe.dll 5.31MB
avfilter-6.dll 4.07MB
OpenTK.dll 3.82MB
openpose.dll 3.4MB
GenApi_MDd_VC140_v3_0.dll 3.33MB
python27.dll 3.25MB
SpinnakerCd_v140.dll 3.01MB
opencv_imgcodecs310.dll 2.63MB
XMLParser_MDd_VC140_v3_0.dll 2.52MB
SpinnakerC_v140.dll 2.5MB
caffehdf5.dll 2.2MB
GenTL_v140.dll 2.13MB
ActiproSoftware.Shared.Wpf.dll 1.95MB
PGRHostControl_dlld.dll 1.74MB
SpinnakerNETd_v140.dll 1.71MB
UsbHostControld.dll 1.57MB
avdevice-57.dll 1.37MB
SpinUpdate_v140.dll 1.32MB
libgfortran-3.dll 1.22MB
SpinnakerNETGUId_v140.dll 1.17MB
SpinnakerNETGUI_v140.dll 1.16MB
log4cpp_MDd_VC140_v3_0.dll 1.11MB
SpinnakerNET_v140.dll 1.06MB
GenApi_MD_VC140_v3_0.dll 983KB
ucrtbase.dll 960KB
PGRHostControl_dll.dll 926KB
swscale-4.dll 902KB
libiomp5md.dll 864KB
SpinnakerGUISelector_WPFd_v140.dll 750KB
SpinnakerNETGUId_v140.resources.dll 739KB
XMLParser_MD_VC140_v3_0.dll 731KB
SpinnakerNETGUI_v140.resources.dll 688KB
ActiproSoftware.Docking.Wpf.dll 644KB
msvcp140.dll 625KB
avutil-55.dll 583KB
NodeMapData_MDd_VC140_v3_0.dll 577KB
SpinnakerGUI_WPFd_v140.dll 555KB
gflagsd.dll 544KB
vcamp140.dll 543KB
DIFxAPI.dll 507KB
vccorlib140.dll 386KB
SpinnakerGUISelector_WPF_v140.dll 370KB
cudart64_80.dll 359KB
swresample-2.dll 357KB
GCBase_MDd_VC140_v3_0.dll 349KB
concrt140.dll 328KB
UsbHostControl.dll 326KB
libquadmath-0.dll 324KB
glogd.dll 319KB
log4net.dll 300KB
SpinView_WPF.resources.dll 291KB
boost_python-vc140-mt-1_61.dll 282KB
MathParser_MDd_VC140_v3_0.dll 264KB
log4cpp_MD_VC140_v3_0.dll 255KB
freeglut.dll 230KB
vcomp140.dll 181KB
Log_MDd_VC140_v3_0.dll 175KB
SpinnakerDirectShow_v140.dll 173KB
SpinnakerGUI_WPF_v140.dll 140KB
gflags.dll 137KB
boost_filesystem-vc140-mt-1_61.dll 136KB
postproc-54.dll 126KB
NodeMapData_MD_VC140_v3_0.dll 125KB
GCBase_MD_VC140_v3_0.dll 116KB
boost_thread-vc140-mt-1_61.dll 113KB
glog.dll 112KB
caffehdf5_hl.dll 102KB
vcruntime140.dll 87KB
caffezlib1.dll 81KB
libgcc_s_seh-1.dll 81KB
PtGreyVideoEncoderd_v140.dll 80KB
SpinnakerAIK_v140.dll 73KB
Log_MD_VC140_v3_0.dll 60KB
SpinSwitchClassLibrary_v140.dll 53KB
SpinSwitchClassLibraryd_v140.dll 53KB
PtGreyVideoEncoder_v140.dll 50KB
MathParser_MD_VC140_v3_0.dll 48KB
OpenTK.GLControl.dll 48KB
boost_system-vc140-mt-gd-1_61.dll 42KB
boost_chrono-vc140-mt-1_61.dll 33KB
共 529 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
- tt3032020-02-28运行不起来啊,怎么搞
- Acoder29002019-09-27上次丢了重新看一下
lvcoc
- 粉丝: 196
- 资源: 19
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功