/*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 header
*/
C
没有合适的资源?快使用搜索试试~ 我知道了~
面向中小型企业设计的轻量级无Agent的自动化运维平台
共526个文件
hpp:317个
h:60个
dll:44个
需积分: 9 0 下载量 174 浏览量
2023-03-14
12:33:44
上传
评论
收藏 133.64MB ZIP 举报
温馨提示
Spug是面向中小型企业设计的轻量级无Agent的自动化运维平台,整合了主机管理、主机批量执行、主机在线终端、应用发布部署、在线任务计划、配置中心、监控、报警等一系列功能。 官网地址:https://spug.cc 使用文档:https://spug.cc/docs/about-spug/ 更新日志:https://spug.cc/docs/change-log/ 常见问题:https://spug.cc/docs/faq/ 推送助手:https://push.spug.cc 演示地址:https://demo.spug.cc 推送助手 推送助手是一个集成了电话、短信、邮件、飞书、钉钉、微信、企业微信等多通道的消息推送平台,用户只需要调用一个简单的URL,就可以完成多通道的消息推送,点击体验:https://push.spug.cc 特性 批量执行: 主机命令在线批量执行 在线终端: 主机支持浏览器在线终端登录 文件管理: 主机文件在线上传下载 任务计划: 灵活的在线任务计划 发布部署: 支持自定义发布部署流程 配置中心: 支持KV、文本、json等格式的配置 监控
资源推荐
资源详情
资源评论
收起资源包目录
面向中小型企业设计的轻量级无Agent的自动化运维平台 (526个子文件)
ittnotify-LICENSE.BSD 1KB
OpenCVModules-release.cmake 25KB
OpenCVModules.cmake 14KB
OpenCVConfig.cmake 14KB
OpenCVConfig.cmake 6KB
OpenCVConfig-version.cmake 433B
OpenCVConfig-version.cmake 433B
opencv_imgproc342.dll 40.94MB
opencv_ffmpeg342_64.dll 17.22MB
opencv_core342.dll 12.64MB
opencv_dnn342.dll 5.38MB
opencv_imgcodecs342.dll 3.08MB
opencv_xfeatures2d342.dll 2.98MB
opencv_tracking342.dll 2.52MB
opencv_calib3d342.dll 2.14MB
opencv_ximgproc342.dll 1.53MB
opencv_stitching342.dll 1.18MB
opencv_photo342.dll 1MB
opencv_features2d342.dll 1001KB
opencv_ml342.dll 875KB
opencv_rgbd342.dll 824KB
opencv_datasets342.dll 820KB
opencv_text342.dll 796KB
opencv_ccalib342.dll 794KB
opencv_xphoto342.dll 742KB
opencv_objdetect342.dll 734KB
opencv_aruco342.dll 714KB
opencv_videostab342.dll 698KB
opencv_flann342.dll 631KB
opencv_videoio342.dll 631KB
opencv_optflow342.dll 608KB
opencv_surface_matching342.dll 579KB
opencv_video342.dll 538KB
opencv_line_descriptor342.dll 405KB
opencv_bgsegm342.dll 375KB
opencv_saliency342.dll 370KB
opencv_bioinspired342.dll 369KB
opencv_shape342.dll 364KB
opencv_superres342.dll 325KB
opencv_stereo342.dll 322KB
opencv_structured_light342.dll 308KB
opencv_reg342.dll 289KB
opencv_dpm342.dll 275KB
opencv_xobjdetect342.dll 268KB
opencv_dnn_objdetect342.dll 261KB
opencv_hfs342.dll 237KB
opencv_img_hash342.dll 230KB
opencv_fuzzy342.dll 221KB
opencv_highgui342.dll 209KB
opencv_phase_unwrapping342.dll 181KB
opencv_plot342.dll 161KB
opencv_traincascade.exe 320KB
opencv_interactive-calibration.exe 148KB
opencv_visualisation.exe 59KB
opencv_createsamples.exe 55KB
opencv_annotation.exe 51KB
opencv_version.exe 38KB
opencv_version_win32.exe 36KB
opencv_waldboost_detector.exe 23KB
ittnotify-LICENSE.GPL 17KB
core_c.h 128KB
types_c.h 60KB
imgproc_c.h 51KB
kmeans_index.h 36KB
videoio_c.h 36KB
dist.h 27KB
hierarchical_clustering_index.h 26KB
autotuned_index.h 21KB
kdtree_single_index.h 20KB
calib3d_c.h 20KB
kdtree_index.h 19KB
lsh_table.h 18KB
types_c.h 17KB
cv_cpu_helper.h 16KB
cvdef.h 16KB
lsh_index.h 15KB
result_set.h 15KB
tracking_c.h 11KB
highgui_c.h 11KB
index_testing.h 11KB
any.h 8KB
hdf5.h 7KB
allocator.h 6KB
composite_index.h 6KB
nn_index.h 6KB
objdetect_c.h 6KB
all_indices.h 6KB
saving.h 6KB
simplex_downhill.h 6KB
cv_cpu_dispatch.h 5KB
imgcodecs_c.h 5KB
cvconfig.h 5KB
cap_ios.h 5KB
dynamic_bitset.h 4KB
interface.h 4KB
defines.h 4KB
random.h 4KB
heap.h 4KB
logger.h 4KB
linear_index.h 4KB
共 526 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
zobincc
- 粉丝: 0
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功