OpenCV  3.2.0
Open Source Computer Vision
Enumerations

Enumerations

enum  Code {
  StsOk = 0,
  StsBackTrace = -1,
  StsError = -2,
  StsInternal = -3,
  StsNoMem = -4,
  StsBadArg = -5,
  StsBadFunc = -6,
  StsNoConv = -7,
  StsAutoTrace = -8,
  HeaderIsNull = -9,
  BadImageSize = -10,
  BadOffset = -11,
  BadDataPtr = -12,
  BadStep = -13,
  BadModelOrChSeq = -14,
  BadNumChannels = -15,
  BadNumChannel1U = -16,
  BadDepth = -17,
  BadAlphaChannel = -18,
  BadOrder = -19,
  BadOrigin = -20,
  BadAlign = -21,
  BadCallBack = -22,
  BadTileSize = -23,
  BadCOI = -24,
  BadROISize = -25,
  MaskIsTiled = -26,
  StsNullPtr = -27,
  StsVecLengthErr = -28,
  StsFilterStructContentErr = -29,
  StsKernelStructContentErr = -30,
  StsFilterOffsetErr = -31,
  StsBadSize = -201,
  StsDivByZero = -202,
  StsInplaceNotSupported = -203,
  StsObjectNotFound = -204,
  StsUnmatchedFormats = -205,
  StsBadFlag = -206,
  StsBadPoint = -207,
  StsBadMask = -208,
  StsUnmatchedSizes = -209,
  StsUnsupportedFormat = -210,
  StsOutOfRange = -211,
  StsParseError = -212,
  StsNotImplemented = -213,
  StsBadMemBlock = -214,
  StsAssert = -215,
  GpuNotSupported = -216,
  GpuApiCallError = -217,
  OpenGlNotSupported = -218,
  OpenGlApiCallError = -219,
  OpenCLApiCallError = -220,
  OpenCLDoubleNotSupported = -221,
  OpenCLInitError = -222,
  OpenCLNoAMDBlasFft = -223
}
 error codes More...
 

Enumeration Type Documentation

§ Code

error codes

Enumerator
StsOk 

everithing is ok

StsBackTrace 

pseudo error for back trace

StsError 

unknown /unspecified error

StsInternal 

internal error (bad state)

StsNoMem 

insufficient memory

StsBadArg 

function arg/param is bad

StsBadFunc 

unsupported function

StsNoConv 

iter. didn't converge

StsAutoTrace 

tracing

HeaderIsNull 

image header is NULL

BadImageSize 

image size is invalid

BadOffset 

offset is invalid

BadDataPtr 
BadStep 
BadModelOrChSeq 
BadNumChannels 
BadNumChannel1U 
BadDepth 
BadAlphaChannel 
BadOrder 
BadOrigin 
BadAlign 
BadCallBack 
BadTileSize 
BadCOI 
BadROISize 
MaskIsTiled 
StsNullPtr 

null pointer

StsVecLengthErr 

incorrect vector length

StsFilterStructContentErr 

incorr. filter structure content

StsKernelStructContentErr 

incorr. transform kernel content

StsFilterOffsetErr 

incorrect filter ofset value

StsBadSize 

the input/output structure size is incorrect

StsDivByZero 

division by zero

StsInplaceNotSupported 

in-place operation is not supported

StsObjectNotFound 

request can't be completed

StsUnmatchedFormats 

formats of input/output arrays differ

StsBadFlag 

flag is wrong or not supported

StsBadPoint 

bad CvPoint

StsBadMask 

bad format of mask (neither 8uC1 nor 8sC1)

StsUnmatchedSizes 

sizes of input/output structures do not match

StsUnsupportedFormat 

the data format/type is not supported by the function

StsOutOfRange 

some of parameters are out of range

StsParseError 

invalid syntax/structure of the parsed file

StsNotImplemented 

the requested function/feature is not implemented

StsBadMemBlock 

an allocated block has been corrupted

StsAssert 

assertion failed

GpuNotSupported 
GpuApiCallError 
OpenGlNotSupported 
OpenGlApiCallError 
OpenCLApiCallError 
OpenCLDoubleNotSupported 
OpenCLInitError 
OpenCLNoAMDBlasFft