Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Opencv
提交
dd81c298
O
Opencv
项目概览
Greenplum
/
Opencv
大约 1 年 前同步成功
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
Opencv
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
dd81c298
编写于
5月 03, 2017
作者:
V
Vadim Pisarevsky
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #8359 from csukuangfj:patch-fix-error-code-documentation
上级
dea5eaca
da94d857
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
34 addition
and
34 deletion
+34
-34
modules/core/include/opencv2/core/base.hpp
modules/core/include/opencv2/core/base.hpp
+17
-17
modules/core/include/opencv2/core/types_c.h
modules/core/include/opencv2/core/types_c.h
+17
-17
未找到文件。
modules/core/include/opencv2/core/base.hpp
浏览文件 @
dd81c298
...
...
@@ -73,30 +73,30 @@ enum Code {
StsNoMem
=
-
4
,
//!< insufficient memory
StsBadArg
=
-
5
,
//!< function arg/param is bad
StsBadFunc
=
-
6
,
//!< unsupported function
StsNoConv
=
-
7
,
//!< iter
.
didn't converge
StsNoConv
=
-
7
,
//!< iter
ation
didn't converge
StsAutoTrace
=
-
8
,
//!< tracing
HeaderIsNull
=
-
9
,
//!< image header is NULL
BadImageSize
=
-
10
,
//!< image size is invalid
BadOffset
=
-
11
,
//!< offset is invalid
BadDataPtr
=
-
12
,
//!<
BadStep
=
-
13
,
//!<
BadStep
=
-
13
,
//!<
image step is wrong, this may happen for a non-continuous matrix.
BadModelOrChSeq
=
-
14
,
//!<
BadNumChannels
=
-
15
,
//!<
BadNumChannels
=
-
15
,
//!<
bad number of channels, for example, some functions accept only single channel matrices.
BadNumChannel1U
=
-
16
,
//!<
BadDepth
=
-
17
,
//!<
BadDepth
=
-
17
,
//!<
input image depth is not supported by the function
BadAlphaChannel
=
-
18
,
//!<
BadOrder
=
-
19
,
//!<
BadOrigin
=
-
20
,
//!<
BadAlign
=
-
21
,
//!<
BadOrder
=
-
19
,
//!<
number of dimensions is out of range
BadOrigin
=
-
20
,
//!<
incorrect input origin
BadAlign
=
-
21
,
//!<
incorrect input align
BadCallBack
=
-
22
,
//!<
BadTileSize
=
-
23
,
//!<
BadCOI
=
-
24
,
//!<
BadROISize
=
-
25
,
//!<
BadCOI
=
-
24
,
//!<
input COI is not supported
BadROISize
=
-
25
,
//!<
incorrect input roi
MaskIsTiled
=
-
26
,
//!<
StsNullPtr
=
-
27
,
//!< null pointer
StsVecLengthErr
=
-
28
,
//!< incorrect vector length
StsFilterStructContentErr
=
-
29
,
//!< incorr
.
filter structure content
StsKernelStructContentErr
=
-
30
,
//!< incorr
.
transform kernel content
StsFilterStructContentErr
=
-
29
,
//!< incorr
ect
filter structure content
StsKernelStructContentErr
=
-
30
,
//!< incorr
ect
transform kernel content
StsFilterOffsetErr
=
-
31
,
//!< incorrect filter offset value
StsBadSize
=
-
201
,
//!< the input/output structure size is incorrect
StsDivByZero
=
-
202
,
//!< division by zero
...
...
@@ -113,13 +113,13 @@ enum Code {
StsNotImplemented
=
-
213
,
//!< the requested function/feature is not implemented
StsBadMemBlock
=
-
214
,
//!< an allocated block has been corrupted
StsAssert
=
-
215
,
//!< assertion failed
GpuNotSupported
=
-
216
,
GpuApiCallError
=
-
217
,
OpenGlNotSupported
=
-
218
,
OpenGlApiCallError
=
-
219
,
OpenCLApiCallError
=
-
220
,
GpuNotSupported
=
-
216
,
//!< no CUDA support
GpuApiCallError
=
-
217
,
//!< GPU API call error
OpenGlNotSupported
=
-
218
,
//!< no OpenGL support
OpenGlApiCallError
=
-
219
,
//!< OpenGL API call error
OpenCLApiCallError
=
-
220
,
//!< OpenCL API call error
OpenCLDoubleNotSupported
=
-
221
,
OpenCLInitError
=
-
222
,
OpenCLInitError
=
-
222
,
//!< OpenCL initialization error
OpenCLNoAMDBlasFft
=
-
223
};
}
//Error
...
...
modules/core/include/opencv2/core/types_c.h
浏览文件 @
dd81c298
...
...
@@ -130,24 +130,24 @@ enum {
CV_BadImageSize
=
-
10
,
/**< image size is invalid */
CV_BadOffset
=
-
11
,
/**< offset is invalid */
CV_BadDataPtr
=
-
12
,
/**/
CV_BadStep
=
-
13
,
/**/
CV_BadStep
=
-
13
,
/**
< image step is wrong, this may happen for a non-continuous matrix *
/
CV_BadModelOrChSeq
=
-
14
,
/**/
CV_BadNumChannels
=
-
15
,
/**/
CV_BadNumChannels
=
-
15
,
/**
< bad number of channels, for example, some functions accept only single channel matrices *
/
CV_BadNumChannel1U
=
-
16
,
/**/
CV_BadDepth
=
-
17
,
/**/
CV_BadDepth
=
-
17
,
/**
< input image depth is not supported by the function *
/
CV_BadAlphaChannel
=
-
18
,
/**/
CV_BadOrder
=
-
19
,
/**/
CV_BadOrigin
=
-
20
,
/**/
CV_BadAlign
=
-
21
,
/**/
CV_BadOrder
=
-
19
,
/**
< number of dimensions is out of range *
/
CV_BadOrigin
=
-
20
,
/**
< incorrect input origin *
/
CV_BadAlign
=
-
21
,
/**
< incorrect input align *
/
CV_BadCallBack
=
-
22
,
/**/
CV_BadTileSize
=
-
23
,
/**/
CV_BadCOI
=
-
24
,
/**/
CV_BadROISize
=
-
25
,
/**/
CV_BadCOI
=
-
24
,
/**
< input COI is not supported *
/
CV_BadROISize
=
-
25
,
/**
< incorrect input roi *
/
CV_MaskIsTiled
=
-
26
,
/**/
CV_StsNullPtr
=
-
27
,
/**< null pointer */
CV_StsVecLengthErr
=
-
28
,
/**< incorrect vector length */
CV_StsFilterStructContentErr
=
-
29
,
/**< incorr
.
filter structure content */
CV_StsKernelStructContentErr
=
-
30
,
/**< incorr
.
transform kernel content */
CV_StsFilterStructContentErr
=
-
29
,
/**< incorr
ect
filter structure content */
CV_StsKernelStructContentErr
=
-
30
,
/**< incorr
ect
transform kernel content */
CV_StsFilterOffsetErr
=
-
31
,
/**< incorrect filter offset value */
CV_StsBadSize
=
-
201
,
/**< the input/output structure size is incorrect */
CV_StsDivByZero
=
-
202
,
/**< division by zero */
...
...
@@ -163,14 +163,14 @@ enum {
CV_StsParseError
=
-
212
,
/**< invalid syntax/structure of the parsed file */
CV_StsNotImplemented
=
-
213
,
/**< the requested function/feature is not implemented */
CV_StsBadMemBlock
=
-
214
,
/**< an allocated block has been corrupted */
CV_StsAssert
=
-
215
,
/**< assertion failed */
CV_GpuNotSupported
=
-
216
,
CV_GpuApiCallError
=
-
217
,
CV_OpenGlNotSupported
=
-
218
,
CV_OpenGlApiCallError
=
-
219
,
CV_OpenCLApiCallError
=
-
220
,
CV_StsAssert
=
-
215
,
/**< assertion failed
*/
CV_GpuNotSupported
=
-
216
,
/**< no CUDA support */
CV_GpuApiCallError
=
-
217
,
/**< GPU API call error */
CV_OpenGlNotSupported
=
-
218
,
/**< no OpenGL support */
CV_OpenGlApiCallError
=
-
219
,
/**< OpenGL API call error */
CV_OpenCLApiCallError
=
-
220
,
/**< OpenCL API call error */
CV_OpenCLDoubleNotSupported
=
-
221
,
CV_OpenCLInitError
=
-
222
,
CV_OpenCLInitError
=
-
222
,
/**< OpenCL initialization error */
CV_OpenCLNoAMDBlasFft
=
-
223
};
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录