Lines Matching refs:param
146 #define ICV_TRAIN_DATA_REQUIRED( param, flags ) \ argument
147 if( !ICV_IS_MAT_OF_TYPE( (param), CV_32FC1 ) ) \
149 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
153 ICV_RAWDATA( *(param), (flags), data, sstep, cstep, m, n ); \
158 #define ICV_TRAIN_CLASSES_REQUIRED( param ) \ argument
159 if( !ICV_IS_MAT_OF_TYPE( (param), CV_32FC1 ) ) \
161 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
165 ICV_MAT2VEC( *(param), classes, clstep, ncl ); \
172 #define ICV_ARG_NULL( param ) \ argument
173 if( (param) != NULL ) \
175 CV_ERROR( CV_StsBadArg, #param " parameter must be NULL" ); \
178 #define ICV_MISSED_MEASUREMENTS_OPTIONAL( param, flags ) \ argument
179 if( param ) \
181 if( !ICV_IS_MAT_OF_TYPE( param, CV_8UC1 ) ) \
183 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
187 ICV_RAWDATA( *(param), (flags), missed, msstep, mcstep, mm, mn ); \
195 #define ICV_COMP_IDX_OPTIONAL( param ) \ argument
196 if( param ) \
198 if( !ICV_IS_MAT_OF_TYPE( param, CV_32SC1 ) ) \
200 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
204 ICV_MAT2VEC( *(param), cidx, cistep, k ); \
206 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
210 #define ICV_SAMPLE_IDX_OPTIONAL( param ) \ argument
211 if( param ) \
213 if( !ICV_IS_MAT_OF_TYPE( param, CV_32SC1 ) ) \
215 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \
221 CV_ERROR( CV_StsBadArg, "Invalid " #param " parameter" ); \