@@ -130,24 +130,24 @@ enum {
130
130
CV_BadImageSize= -10 , /* *< image size is invalid */
131
131
CV_BadOffset= -11 , /* *< offset is invalid */
132
132
CV_BadDataPtr= -12 , /* */
133
- CV_BadStep= -13 , /* *< image step is wrong */
133
+ CV_BadStep= -13 , /* *< image step is wrong, this may happen for a non-continuous matrix */
134
134
CV_BadModelOrChSeq= -14 , /* */
135
- CV_BadNumChannels= -15 , /* *< bad number of channels */
135
+ CV_BadNumChannels= -15 , /* *< bad number of channels, for example, some functions accept only single channel matrices */
136
136
CV_BadNumChannel1U= -16 , /* */
137
- CV_BadDepth= -17 , /* *< input image depth is not supported by function */
137
+ CV_BadDepth= -17 , /* *< input image depth is not supported by the function */
138
138
CV_BadAlphaChannel= -18 , /* */
139
- CV_BadOrder= -19 , /* */
140
- CV_BadOrigin= -20 , /* */
141
- CV_BadAlign= -21 , /* */
139
+ CV_BadOrder= -19 , /* *< number of dimensions is out of range * /
140
+ CV_BadOrigin= -20 , /* *< incorrect input origin * /
141
+ CV_BadAlign= -21 , /* *< incorrect input align * /
142
142
CV_BadCallBack= -22 , /* */
143
143
CV_BadTileSize= -23 , /* */
144
- CV_BadCOI= -24 , /* *< input COI is not supported */
145
- CV_BadROISize= -25 , /* */
144
+ CV_BadCOI= -24 , /* *< input COI is not supported */
145
+ CV_BadROISize= -25 , /* *< incorrect input roi * /
146
146
CV_MaskIsTiled= -26 , /* */
147
147
CV_StsNullPtr= -27 , /* *< null pointer */
148
148
CV_StsVecLengthErr= -28 , /* *< incorrect vector length */
149
- CV_StsFilterStructContentErr= -29 , /* *< incorr. filter structure content */
150
- CV_StsKernelStructContentErr= -30 , /* *< incorr. transform kernel content */
149
+ CV_StsFilterStructContentErr= -29 , /* *< incorrect filter structure content */
150
+ CV_StsKernelStructContentErr= -30 , /* *< incorrect transform kernel content */
151
151
CV_StsFilterOffsetErr= -31 , /* *< incorrect filter offset value */
152
152
CV_StsBadSize= -201 , /* *< the input/output structure size is incorrect */
153
153
CV_StsDivByZero= -202 , /* *< division by zero */
@@ -163,14 +163,14 @@ enum {
163
163
CV_StsParseError= -212 , /* *< invalid syntax/structure of the parsed file */
164
164
CV_StsNotImplemented= -213 , /* *< the requested function/feature is not implemented */
165
165
CV_StsBadMemBlock= -214 , /* *< an allocated block has been corrupted */
166
- CV_StsAssert= -215 , /* *< assertion failed */
167
- CV_GpuNotSupported= -216 ,
168
- CV_GpuApiCallError= -217 ,
169
- CV_OpenGlNotSupported= -218 ,
170
- CV_OpenGlApiCallError= -219 ,
171
- CV_OpenCLApiCallError= -220 ,
166
+ CV_StsAssert= -215 , /* *< assertion failed */
167
+ CV_GpuNotSupported= -216 , /* *< no CUDA support */
168
+ CV_GpuApiCallError= -217 , /* *< GPU API call error */
169
+ CV_OpenGlNotSupported= -218 , /* *< no OpenGL support */
170
+ CV_OpenGlApiCallError= -219 , /* *< OpenGL API call error */
171
+ CV_OpenCLApiCallError= -220 , /* *< OpenCL API call error */
172
172
CV_OpenCLDoubleNotSupported= -221 ,
173
- CV_OpenCLInitError= -222 ,
173
+ CV_OpenCLInitError= -222 , /* *< OpenCL initialization error */
174
174
CV_OpenCLNoAMDBlasFft= -223
175
175
};
176
176
0 commit comments