cv::Error namespace#
Core functionality » Utility and system functions and macros
Enumerations#
error codes
enum cv::Error::Code {
cv::Error::StsOk = 0,
cv::Error::StsBackTrace = -1,
cv::Error::StsError = -2,
cv::Error::StsInternal = -3,
cv::Error::StsNoMem = -4,
cv::Error::StsBadArg = -5,
cv::Error::StsBadFunc = -6,
cv::Error::StsNoConv = -7,
cv::Error::StsAutoTrace = -8,
cv::Error::HeaderIsNull = -9,
cv::Error::BadImageSize = -10,
cv::Error::BadOffset = -11,
cv::Error::BadDataPtr = -12,
cv::Error::BadStep = -13,
cv::Error::BadModelOrChSeq = -14,
cv::Error::BadNumChannels = -15,
cv::Error::BadNumChannel1U = -16,
cv::Error::BadDepth = -17,
cv::Error::BadAlphaChannel = -18,
cv::Error::BadOrder = -19,
cv::Error::BadOrigin = -20,
cv::Error::BadAlign = -21,
cv::Error::BadCallBack = -22,
cv::Error::BadTileSize = -23,
cv::Error::BadCOI = -24,
cv::Error::BadROISize = -25,
cv::Error::MaskIsTiled = -26,
cv::Error::StsNullPtr = -27,
cv::Error::StsVecLengthErr = -28,
cv::Error::StsFilterStructContentErr = -29,
cv::Error::StsKernelStructContentErr = -30,
cv::Error::StsFilterOffsetErr = -31,
cv::Error::StsBadSize = -201,
cv::Error::StsDivByZero = -202,
cv::Error::StsInplaceNotSupported = -203,
cv::Error::StsObjectNotFound = -204,
cv::Error::StsUnmatchedFormats = -205,
cv::Error::StsBadFlag = -206,
cv::Error::StsBadPoint = -207,
cv::Error::StsBadMask = -208,
cv::Error::StsUnmatchedSizes = -209,
cv::Error::StsUnsupportedFormat = -210,
cv::Error::StsOutOfRange = -211,
cv::Error::StsParseError = -212,
cv::Error::StsNotImplemented = -213,
cv::Error::StsBadMemBlock = -214,
cv::Error::StsAssert = -215,
cv::Error::GpuNotSupported = -216,
cv::Error::GpuApiCallError = -217,
cv::Error::OpenGlNotSupported = -218,
cv::Error::OpenGlApiCallError = -219,
cv::Error::OpenCLApiCallError = -220,
cv::Error::OpenCLDoubleNotSupported = -221,
cv::Error::OpenCLInitError = -222,
cv::Error::OpenCLNoAMDBlasFft = -223
}
Enumeration Type Documentation#
Code#
enum cv::Error::Code
error codes
|
everything is ok |
|
pseudo error for back trace |
|
unknown /unspecified error |
|
internal error (bad state) |
|
insufficient memory |
|
function arg/param is bad |
|
unsupported function |
|
iteration didn’t converge |
|
tracing |
|
image header is NULL |
|
image size is invalid |
|
offset is invalid |
|
|
|
image step is wrong, this may happen for a non-continuous matrix. |
|
|
|
bad number of channels, for example, some functions accept only single channel matrices. |
|
|
|
input image depth is not supported by the function |
|
|
|
number of dimensions is out of range |
|
incorrect input origin |
|
incorrect input align |
|
|
|
|
|
input COI is not supported |
|
incorrect input roi |
|
|
|
null pointer |
|
incorrect vector length |
|
incorrect filter structure content |
|
incorrect transform kernel content |
|
incorrect filter offset value |
|
the input/output structure size is incorrect |
|
division by zero |
|
in-place operation is not supported |
|
request can’t be completed |
|
formats of input/output arrays differ |
|
flag is wrong or not supported |
|
bad CvPoint |
|
bad format of mask (neither 8uC1 nor 8sC1) |
|
sizes of input/output structures do not match |
|
the data format/type is not supported by the function |
|
some of parameters are out of range |
|
invalid syntax/structure of the parsed file |
|
the requested function/feature is not implemented |
|
an allocated block has been corrupted |
|
assertion failed |
|
no CUDA support |
|
GPU API call error. |
|
no OpenGL support |
|
OpenGL API call error. |
|
OpenCL API call error. |
|
|
|
OpenCL initialization error. |
|