Home | History | Annotate | Download | only in src

Lines Matching full:channel

221                   const int& channel ){
226 // input: 1 channel, output: 1 channel
237 // input: 1 channel, output: 3 channel
248 // input: 3 channel, output: 1 channel
254 // input: 4 channel, output: 1 channel
260 // input: 3 channel, output: 3 channel
262 if( image.depth() == CV_8U ){ image.at<Vec3b>(row,col)[channel] = newValue; }
263 else if( image.depth() == CV_16U ){ image.at<Vec3s>(row,col)[channel] = newValue; }
264 else if( image.depth() == CV_16S ){ image.at<Vec3s>(row,col)[channel] = newValue; }
265 else if( image.depth() == CV_32S ){ image.at<Vec3i>(row,col)[channel] = newValue; }
266 else if( image.depth() == CV_32F ){ image.at<Vec3f>(row,col)[channel] = newValue; }
267 else if( image.depth() == CV_64F ){ image.at<Vec3d>(row,col)[channel] = newValue; }
271 // input: 4 channel, output: 3 channel
273 if( channel >= 4 ){ return; }
274 else if( image.depth() == CV_8U && channel < 4 ){ image.at<Vec3b>(row,col)[channel] = newValue; }
275 else if( image.depth() == CV_16U && channel < 4 ){ image.at<Vec3s>(row,col)[channel] = newValue; }
276 else if( image.depth() == CV_16S && channel < 4 ){ image.at<Vec3s>(row,col)[channel] = newValue; }
277 else if( image.depth() == CV_32S && channel < 4 ){ image.at<Vec3i>(row,col)[channel] = newValue; }
278 else if( image.depth() == CV_32F && channel < 4 ){ image.at<Vec3f>(row,col)[channel] = newValue; }
279 else if( image.depth() == CV_64F && channel < 4 ){ image.at<Vec3d>(row,col)[channel] = newValue; }
283 // input: 4 channel, output: 4 channel
285 if( image.depth() == CV_8U ){ image.at<Vec4b>(row,col)[channel] = newValue; }
453 // make sure we have at least one band/channel