channels 1881 3rdparty/include/ffmpeg_/libavcodec/avcodec.h int channels; ///< number of audio channels channels 63 3rdparty/include/ffmpeg_/libavutil/audio_fifo.h AVAudioFifo *av_audio_fifo_alloc(enum AVSampleFormat sample_fmt, int channels, channels 423 3rdparty/include/ffmpeg_/libavutil/frame.h int channels; channels 843 3rdparty/libpng/png.h png_byte channels; /* number of channels (1, 2, 3, or 4) */ channels 429 3rdparty/libpng/pngget.c return(info_ptr->channels); channels 74 3rdparty/libpng/pnginfo.h png_byte channels; /* number of data channels per pixel (1, 2, 3, 4) */ channels 967 3rdparty/libpng/pngpread.c row_info.channels = png_ptr->channels; channels 397 3rdparty/libpng/pngread.c row_info.channels = png_ptr->channels; channels 2011 3rdparty/libpng/pngrtran.c info_ptr->channels = 1; channels 2014 3rdparty/libpng/pngrtran.c info_ptr->channels = 3; channels 2017 3rdparty/libpng/pngrtran.c info_ptr->channels = 1; channels 2029 3rdparty/libpng/pngrtran.c info_ptr->channels++; channels 2037 3rdparty/libpng/pngrtran.c info_ptr->channels++; channels 2051 3rdparty/libpng/pngrtran.c if (info_ptr->channels < png_ptr->user_transform_channels) channels 2052 3rdparty/libpng/pngrtran.c info_ptr->channels = png_ptr->user_transform_channels; channels 2056 3rdparty/libpng/pngrtran.c info_ptr->pixel_depth = (png_byte)(info_ptr->channels * channels 2361 3rdparty/libpng/pngrtran.c row_info->channels = png_ptr->user_transform_channels; channels 2364 3rdparty/libpng/pngrtran.c row_info->channels); channels 2464 3rdparty/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(8 * row_info->channels); channels 2465 3rdparty/libpng/pngrtran.c row_info->rowbytes = row_width * row_info->channels; channels 2490 3rdparty/libpng/pngrtran.c int channels = 0; channels 2495 3rdparty/libpng/pngrtran.c shift[channels++] = bit_depth - sig_bits->red; channels 2496 3rdparty/libpng/pngrtran.c shift[channels++] = bit_depth - sig_bits->green; channels 2497 3rdparty/libpng/pngrtran.c shift[channels++] = bit_depth - sig_bits->blue; channels 2502 3rdparty/libpng/pngrtran.c shift[channels++] = bit_depth - sig_bits->gray; channels 2507 3rdparty/libpng/pngrtran.c shift[channels++] = bit_depth - sig_bits->alpha; channels 2513 3rdparty/libpng/pngrtran.c for (c = have_shift = 0; c < channels; ++c) channels 2580 3rdparty/libpng/pngrtran.c if (++channel >= channels) channels 2600 3rdparty/libpng/pngrtran.c if (++channel >= channels) channels 2666 3rdparty/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(8 * row_info->channels); channels 2667 3rdparty/libpng/pngrtran.c row_info->rowbytes = row_info->width * row_info->channels; channels 2694 3rdparty/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(8 * row_info->channels); channels 2695 3rdparty/libpng/pngrtran.c row_info->rowbytes = row_info->width * row_info->channels; channels 2930 3rdparty/libpng/pngrtran.c row_info->channels = 2; channels 2945 3rdparty/libpng/pngrtran.c row_info->channels = 2; channels 2968 3rdparty/libpng/pngrtran.c row_info->channels = 2; channels 2985 3rdparty/libpng/pngrtran.c row_info->channels = 2; channels 3009 3rdparty/libpng/pngrtran.c row_info->channels = 4; channels 3026 3rdparty/libpng/pngrtran.c row_info->channels = 4; channels 3053 3rdparty/libpng/pngrtran.c row_info->channels = 4; channels 3075 3rdparty/libpng/pngrtran.c row_info->channels = 4; channels 3164 3rdparty/libpng/pngrtran.c row_info->channels = (png_byte)(row_info->channels + 2); channels 3166 3rdparty/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(row_info->channels * channels 3410 3rdparty/libpng/pngrtran.c row_info->channels = (png_byte)(row_info->channels - 2); channels 3413 3rdparty/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(row_info->channels * channels 4588 3rdparty/libpng/pngrtran.c row_info->channels = 4; channels 4608 3rdparty/libpng/pngrtran.c row_info->channels = 3; channels 4770 3rdparty/libpng/pngrtran.c row_info->channels = 2; channels 4836 3rdparty/libpng/pngrtran.c row_info->channels = 4; channels 4870 3rdparty/libpng/pngrtran.c row_info->pixel_depth = (png_byte)(row_info->channels * 16); channels 4919 3rdparty/libpng/pngrtran.c row_info->channels = 1; channels 4950 3rdparty/libpng/pngrtran.c row_info->channels = 1; channels 567 3rdparty/libpng/pngrutil.c png_ptr->channels = 1; channels 571 3rdparty/libpng/pngrutil.c png_ptr->channels = 3; channels 575 3rdparty/libpng/pngrutil.c png_ptr->channels = 2; channels 579 3rdparty/libpng/pngrutil.c png_ptr->channels = 4; channels 585 3rdparty/libpng/pngrutil.c png_ptr->channels); channels 588 3rdparty/libpng/pngrutil.c png_debug1(3, "channels = %d", png_ptr->channels); channels 883 3rdparty/libpng/pngrutil.c truelen = (png_size_t)png_ptr->channels; channels 242 3rdparty/libpng/pngset.c info_ptr->channels = 1; channels 245 3rdparty/libpng/pngset.c info_ptr->channels = 3; channels 248 3rdparty/libpng/pngset.c info_ptr->channels = 1; channels 251 3rdparty/libpng/pngset.c info_ptr->channels++; channels 253 3rdparty/libpng/pngset.c info_ptr->pixel_depth = (png_byte)(info_ptr->channels * info_ptr->bit_depth); channels 140 3rdparty/libpng/pngstruct.h png_byte channels; /* number of channels in file */ channels 275 3rdparty/libpng/pngtrans.c png_uint_32 istop= row_info->width * row_info->channels; channels 451 3rdparty/libpng/pngtrans.c if (row_info->channels == 2) channels 483 3rdparty/libpng/pngtrans.c row_info->channels = 1; channels 491 3rdparty/libpng/pngtrans.c else if (row_info->channels == 4) channels 528 3rdparty/libpng/pngtrans.c row_info->channels = 3; channels 745 3rdparty/libpng/pngwrite.c row_info.channels = png_ptr->usr_channels; channels 747 3rdparty/libpng/pngwrite.c row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); channels 752 3rdparty/libpng/pngwrite.c png_debug1(3, "row_info->channels = %d", row_info.channels); channels 106 3rdparty/libpng/pngwtran.c row_info->channels == 1) channels 230 3rdparty/libpng/pngwtran.c row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); channels 254 3rdparty/libpng/pngwtran.c int channels = 0; channels 258 3rdparty/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->red; channels 259 3rdparty/libpng/pngwtran.c shift_dec[channels] = bit_depth->red; channels 260 3rdparty/libpng/pngwtran.c channels++; channels 262 3rdparty/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->green; channels 263 3rdparty/libpng/pngwtran.c shift_dec[channels] = bit_depth->green; channels 264 3rdparty/libpng/pngwtran.c channels++; channels 266 3rdparty/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->blue; channels 267 3rdparty/libpng/pngwtran.c shift_dec[channels] = bit_depth->blue; channels 268 3rdparty/libpng/pngwtran.c channels++; channels 273 3rdparty/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->gray; channels 274 3rdparty/libpng/pngwtran.c shift_dec[channels] = bit_depth->gray; channels 275 3rdparty/libpng/pngwtran.c channels++; channels 280 3rdparty/libpng/pngwtran.c shift_start[channels] = row_info->bit_depth - bit_depth->alpha; channels 281 3rdparty/libpng/pngwtran.c shift_dec[channels] = bit_depth->alpha; channels 282 3rdparty/libpng/pngwtran.c channels++; channels 325 3rdparty/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; channels 332 3rdparty/libpng/pngwtran.c int c = (int)(i%channels); channels 352 3rdparty/libpng/pngwtran.c png_uint_32 istop = channels * row_info->width; channels 356 3rdparty/libpng/pngwtran.c int c = (int)(i%channels); channels 698 3rdparty/libpng/pngwutil.c png_ptr->channels = 1; break; channels 714 3rdparty/libpng/pngwutil.c png_ptr->channels = 3; channels 724 3rdparty/libpng/pngwutil.c png_ptr->channels = 1; channels 736 3rdparty/libpng/pngwutil.c png_ptr->channels = 2; channels 747 3rdparty/libpng/pngwutil.c png_ptr->channels = 4; channels 805 3rdparty/libpng/pngwutil.c png_ptr->pixel_depth = (png_byte)(bit_depth * png_ptr->channels); channels 810 3rdparty/libpng/pngwutil.c png_ptr->usr_channels = png_ptr->channels; channels 999 3rdparty/libpng/pngwutil.c png_ptr->channels * png_ptr->bit_depth + 15) >> 3); channels 322 3rdparty/openexr/IlmImf/ImfAcesFile.cpp return _data->rgbaFile->channels(); channels 608 3rdparty/openexr/IlmImf/ImfAcesFile.cpp return _data->rgbaFile->channels(); channels 208 3rdparty/openexr/IlmImf/ImfAcesFile.h RgbaChannels channels () const; channels 298 3rdparty/openexr/IlmImf/ImfAcesFile.h RgbaChannels channels () const; channels 481 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp _channels (hdr.channels()), channels 495 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp const ChannelList &channels = header().channels(); channels 498 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (ChannelList::ConstIterator c = channels.begin(); channels 499 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp c != channels.end(); channels 522 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp for (ChannelList::ConstIterator c = channels.begin(); channels 523 3rdparty/openexr/IlmImf/ImfB44Compressor.cpp c != channels.end(); channels 936 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp ImfOpenOutputFile (const char name[], const ImfHeader *hdr, int channels) channels 941 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp (name, *header(hdr), Imf::RgbaChannels (channels)); channels 1019 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp return outfile(out)->channels(); channels 1026 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp int channels, channels 1034 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp Imf::RgbaChannels (channels), channels 1129 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp return outfile(out)->channels(); channels 1237 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp return infile(in)->channels(); channels 1345 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp return infile(in)->channels(); channels 1385 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp ImfNewRound12logLut (int channels) channels 1390 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp (Imf::round12log, Imf::RgbaChannels (channels)); channels 1401 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp ImfNewRoundNBitLut (unsigned int n, int channels) channels 1406 3rdparty/openexr/IlmImf/ImfCRgbaFile.cpp (Imf::roundNBit (n), Imf::RgbaChannels (channels)); channels 311 3rdparty/openexr/IlmImf/ImfCRgbaFile.h int channels); channels 339 3rdparty/openexr/IlmImf/ImfCRgbaFile.h int channels, channels 446 3rdparty/openexr/IlmImf/ImfCRgbaFile.h ImfLut * ImfNewRound12logLut (int channels); channels 448 3rdparty/openexr/IlmImf/ImfCRgbaFile.h ImfLut * ImfNewRoundNBitLut (unsigned int n, int channels); channels 136 3rdparty/openexr/IlmImf/ImfHeader.cpp const ChannelList &channels = header.channels(); channels 138 3rdparty/openexr/IlmImf/ImfHeader.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 139 3rdparty/openexr/IlmImf/ImfHeader.cpp i != channels.end(); channels 769 3rdparty/openexr/IlmImf/ImfHeader.cpp const ChannelList &channels = this->channels(); channels 773 3rdparty/openexr/IlmImf/ImfHeader.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 774 3rdparty/openexr/IlmImf/ImfHeader.cpp i != channels.end(); channels 802 3rdparty/openexr/IlmImf/ImfHeader.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 803 3rdparty/openexr/IlmImf/ImfHeader.cpp i != channels.end(); channels 240 3rdparty/openexr/IlmImf/ImfHeader.h ChannelList & channels (); channels 241 3rdparty/openexr/IlmImf/ImfHeader.h const ChannelList & channels () const; channels 105 3rdparty/openexr/IlmImf/ImfMisc.cpp const ChannelList &channels = header.channels(); channels 109 3rdparty/openexr/IlmImf/ImfMisc.cpp for (ChannelList::ConstIterator c = channels.begin(); channels 110 3rdparty/openexr/IlmImf/ImfMisc.cpp c != channels.end(); channels 815 3rdparty/openexr/IlmImf/ImfOutputFile.cpp const ChannelList &channels = _data->header.channels(); channels 817 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 818 3rdparty/openexr/IlmImf/ImfOutputFile.cpp i != channels.end(); channels 851 3rdparty/openexr/IlmImf/ImfOutputFile.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 852 3rdparty/openexr/IlmImf/ImfOutputFile.cpp i != channels.end(); channels 1177 3rdparty/openexr/IlmImf/ImfOutputFile.cpp if (!(hdr.channels() == inHdr.channels())) channels 182 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp _channels (hdr.channels()), channels 197 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp const ChannelList &channels = header().channels(); channels 200 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp for (ChannelList::ConstIterator c = channels.begin(); channels 201 3rdparty/openexr/IlmImf/ImfPizCompressor.cpp c != channels.end(); channels 188 3rdparty/openexr/IlmImf/ImfPxr24Compressor.cpp _channels (hdr.channels()) channels 97 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp header.channels() = ch; channels 777 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp return rgbaChannels (_outputFile->header().channels()); channels 1169 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaChannels rgbaChannels = channels(); channels 1181 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaChannels rgbaChannels = channels(); channels 1196 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaChannels rgbaChannels = channels(); channels 1211 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaChannels rgbaChannels = channels(); channels 1281 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp RgbaChannels rgbaChannels = channels(); channels 1393 3rdparty/openexr/IlmImf/ImfRgbaFile.cpp return rgbaChannels (_inputFile->header().channels(), _channelNamePrefix); channels 172 3rdparty/openexr/IlmImf/ImfRgbaFile.h RgbaChannels channels () const; channels 318 3rdparty/openexr/IlmImf/ImfRgbaFile.h RgbaChannels channels () const; channels 767 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp const ChannelList &channels = _data->header.channels(); channels 773 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp ChannelList::ConstIterator i = channels.find (j.name()); channels 775 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp if (i == channels.end()) channels 792 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp ChannelList::ConstIterator i = channels.begin(); channels 798 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp while (i != channels.end() && strcmp (i.name(), j.name()) < 0) channels 821 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp if (i == channels.end() || strcmp (i.name(), j.name()) > 0) channels 843 3rdparty/openexr/IlmImf/ImfScanLineInputFile.cpp if (i != channels.end() && !fill) channels 822 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp const ChannelList &channels = _data->header.channels(); channels 828 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp ChannelList::ConstIterator i = channels.find (j.name()); channels 830 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp if (i == channels.end()) channels 847 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp ChannelList::ConstIterator i = channels.begin(); channels 853 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp while (i != channels.end() && strcmp (i.name(), j.name()) < 0) channels 874 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp if (i == channels.end() || strcmp (i.name(), j.name()) > 0) channels 895 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp if (i != channels.end() && !fill) channels 899 3rdparty/openexr/IlmImf/ImfTiledInputFile.cpp while (i != channels.end()) channels 113 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp const ChannelList &channels = header.channels(); channels 117 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp for (ChannelList::ConstIterator c = channels.begin(); channels 118 3rdparty/openexr/IlmImf/ImfTiledMisc.cpp c != channels.end(); channels 1020 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp const ChannelList &channels = _data->header.channels(); channels 1022 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 1023 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp i != channels.end(); channels 1048 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp for (ChannelList::ConstIterator i = channels.begin(); channels 1049 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp i != channels.end(); channels 1355 3rdparty/openexr/IlmImf/ImfTiledOutputFile.cpp if (!(hdr.channels() == inHdr.channels())) channels 100 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp header.channels() = ch; channels 478 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp return rgbaChannels (_outputFile->header().channels()); channels 776 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp if (channels() & WRITE_Y) channels 786 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp if (channels() & WRITE_Y) channels 799 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp if (channels() & WRITE_Y) channels 812 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp if (channels() & WRITE_Y) channels 880 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp if (channels() & WRITE_Y) channels 961 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.cpp return rgbaChannels (_inputFile->header().channels(), _channelNamePrefix); channels 184 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h RgbaChannels channels () const; channels 381 3rdparty/openexr/IlmImf/ImfTiledRgbaFile.h RgbaChannels channels () const; channels 1371 modules/calib3d/src/circlesgrid.cpp if (srcImage.channels() == 1) channels 307 modules/calib3d/src/compat_ptsetreg.cpp if( src.channels() == 1 && (src.rows == 2 || src.rows == 3) && src.cols > 3 ) channels 309 modules/calib3d/src/compat_ptsetreg.cpp if( dst.channels() == 1 && (dst.rows == 2 || dst.rows == 3) && dst.cols > 3 ) channels 344 modules/calib3d/src/compat_ptsetreg.cpp if( m1.channels() == 1 && (m1.rows == 2 || m1.rows == 3) && m1.cols > 3 ) channels 346 modules/calib3d/src/compat_ptsetreg.cpp if( m2.channels() == 1 && (m2.rows == 2 || m2.rows == 3) && m2.cols > 3 ) channels 360 modules/calib3d/src/compat_ptsetreg.cpp CV_Assert( FM0.cols == 3 && FM0.rows % 3 == 0 && FM.cols == 3 && FM.rows % 3 == 0 && FM.channels() == 1 ); channels 374 modules/calib3d/src/compat_ptsetreg.cpp if( pt.channels() == 1 && (pt.rows == 2 || pt.rows == 3) && pt.cols > 3 ) channels 379 modules/calib3d/src/compat_ptsetreg.cpp bool tflag = lines0.channels() == 1 && lines0.rows == 3 && lines0.cols > 3; channels 380 modules/calib3d/src/compat_ptsetreg.cpp lines = lines.reshape(lines0.channels(), (tflag ? lines0.cols : lines0.rows)); channels 407 modules/calib3d/src/compat_ptsetreg.cpp int d0 = src.channels() > 1 ? src.channels() : MIN(src.cols, src.rows); channels 409 modules/calib3d/src/compat_ptsetreg.cpp if( src.channels() == 1 && src.cols > d0 ) channels 412 modules/calib3d/src/compat_ptsetreg.cpp int d1 = dst.channels() > 1 ? dst.channels() : MIN(dst.cols, dst.rows); channels 421 modules/calib3d/src/compat_ptsetreg.cpp bool tflag = dst0.channels() == 1 && dst0.cols > d1; channels 422 modules/calib3d/src/compat_ptsetreg.cpp dst = dst.reshape(dst0.channels(), (tflag ? dst0.cols : dst0.rows)); channels 76 modules/calib3d/src/fisheye.cpp CV_Assert(_rvec.total() * _rvec.channels() == 3 && (_rvec.depth() == CV_32F || _rvec.depth() == CV_64F)); channels 77 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); channels 319 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); channels 339 modules/calib3d/src/fisheye.cpp if (!R.empty() && R.total() * R.channels() == 3) channels 411 modules/calib3d/src/fisheye.cpp CV_Assert(R.empty() || R.size() == Size(3, 3) || R.total() * R.channels() == 3); channels 433 modules/calib3d/src/fisheye.cpp if (!R.empty() && R.total() * R.channels() == 3) channels 612 modules/calib3d/src/fisheye.cpp CV_Assert((_R.size() == Size(3, 3) || _R.total() * _R.channels() == 3) && (_R.depth() == CV_32F || _R.depth() == CV_64F)); channels 613 modules/calib3d/src/fisheye.cpp CV_Assert(_tvec.total() * _tvec.channels() == 3 && (_tvec.depth() == CV_32F || _tvec.depth() == CV_64F)); channels 625 modules/calib3d/src/fisheye.cpp else if (_R.total() * _R.channels() == 3) channels 699 modules/calib3d/src/fisheye.cpp CV_Assert((!rvecs.empty() && rvecs.channels() == 3) || rvecs.empty()); channels 700 modules/calib3d/src/fisheye.cpp CV_Assert((!tvecs.empty() && tvecs.channels() == 3) || tvecs.empty()); channels 416 modules/calib3d/src/five-point.cpp if( points1.channels() > 1 ) channels 457 modules/calib3d/src/five-point.cpp if (points1.channels() > 1) channels 113 modules/calib3d/src/ptsetreg.cpp int d1 = m1.channels() > 1 ? m1.channels() : m1.cols; channels 114 modules/calib3d/src/ptsetreg.cpp int d2 = m2.channels() > 1 ? m2.channels() : m2.cols; channels 171 modules/calib3d/src/ptsetreg.cpp int d1 = m1.channels() > 1 ? m1.channels() : m1.cols; channels 172 modules/calib3d/src/ptsetreg.cpp int d2 = m2.channels() > 1 ? m2.channels() : m2.cols; channels 284 modules/calib3d/src/ptsetreg.cpp int d1 = m1.channels() > 1 ? m1.channels() : m1.cols; channels 285 modules/calib3d/src/ptsetreg.cpp int d2 = m2.channels() > 1 ? m2.channels() : m2.cols; channels 178 modules/calib3d/src/quadsubpix.cpp int channels = 0; channels 182 modules/calib3d/src/quadsubpix.cpp calcHist(&img_roi, 1, &channels, Mat(), hist, 1, &nbins, &_ranges); channels 234 modules/calib3d/src/solvepnp.cpp CV_Assert((opoints.rows == 1 && opoints.channels() == 3) || opoints.cols*opoints.channels() == 3); channels 237 modules/calib3d/src/solvepnp.cpp CV_Assert((ipoints.rows == 1 && ipoints.channels() == 2) || ipoints.cols*ipoints.channels() == 2); channels 127 modules/calib3d/src/stereosgbm.cpp int x, c, width = img1.cols, cn = img1.channels(); channels 383 modules/calib3d/src/stereosgbm.cpp width*16*img1.channels()*sizeof(PixType) + // temp buffer for computing per-pixel cost channels 399 modules/calib3d/src/triangulate.cpp if((points1.rows == 1 || points1.cols == 1) && points1.channels() == 2) channels 402 modules/calib3d/src/triangulate.cpp if((points2.rows == 1 || points2.cols == 1) && points2.channels() == 2) channels 1228 modules/calib3d/test/test_cameracalibration.cpp int npoints = opoints.cols*opoints.rows*opoints.channels()/3; channels 370 modules/calib3d/test/test_fundam.cpp dst.create(dst.size(), CV_MAKETYPE(CV_64F, _dst.channels())); channels 375 modules/calib3d/test/test_fundam.cpp sdims = src.channels()*src.cols; channels 382 modules/calib3d/test/test_fundam.cpp sdims = src.channels()*src.rows; channels 398 modules/calib3d/test/test_fundam.cpp ddims = dst.channels()*dst.cols; channels 405 modules/calib3d/test/test_fundam.cpp ddims = dst.channels()*dst.rows; channels 628 modules/calib3d/test/test_fundam.cpp Mat _r( arr.rows, arr.cols, CV_MAKETYPE(CV_64F,arr.channels()), r ); channels 705 modules/calib3d/test/test_fundam.cpp M.reshape(M0.channels(), M0.rows).convertTo(M0, M0.type()); channels 707 modules/calib3d/test/test_fundam.cpp v2.reshape(v2_0.channels(), v2_0.rows).convertTo(v2_0, v2_0.type()); channels 81 modules/calib3d/test/test_stereomatching.cpp if( _img.channels() > 1) channels 158 modules/core/include/opencv2/core/affine.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 159 modules/core/include/opencv2/core/affine.hpp type = CV_MAKETYPE(depth, channels) channels 162 modules/core/include/opencv2/core/affine.hpp typedef Vec<channel_type, channels> vec_type; channels 97 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvCreateImageHeader( CvSize size, int depth, int channels ); channels 110 modules/core/include/opencv2/core/core_c.h int channels, int origin CV_DEFAULT(0), channels 125 modules/core/include/opencv2/core/core_c.h CVAPI(IplImage*) cvCreateImage( CvSize size, int depth, int channels ); channels 2834 modules/core/include/opencv2/core/core_c.h int channels() const; channels 2973 modules/core/include/opencv2/core/core_c.h template<typename _Tp> inline int Seq<_Tp>::channels() const channels 266 modules/core/include/opencv2/core/cuda.hpp int channels() const; channels 409 modules/core/include/opencv2/core/cuda.hpp int channels() const; channels 93 modules/core/include/opencv2/core/cuda/utility.hpp :mask(mask_.mask), channels(mask_.channels){} channels 97 modules/core/include/opencv2/core/cuda/utility.hpp return mask.ptr(y)[x / channels] != 0; channels 101 modules/core/include/opencv2/core/cuda/utility.hpp int channels; channels 68 modules/core/include/opencv2/core/cvstd.inl.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 69 modules/core/include/opencv2/core/cvstd.inl.hpp type = CV_MAKETYPE(depth, channels) }; channels 71 modules/core/include/opencv2/core/cvstd.inl.hpp typedef Vec<channel_type, channels> vec_type; channels 171 modules/core/include/opencv2/core/ippasync.hpp int cn = src.channels(); channels 212 modules/core/include/opencv2/core/mat.hpp int channels(int i=-1) const; channels 1601 modules/core/include/opencv2/core/mat.hpp int channels() const; channels 2029 modules/core/include/opencv2/core/mat.hpp int channels() const; channels 2267 modules/core/include/opencv2/core/mat.hpp int channels() const; channels 2511 modules/core/include/opencv2/core/mat.hpp int channels() const; channels 2710 modules/core/include/opencv2/core/mat.hpp int channels() const; channels 893 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && channels 902 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(i1 * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && channels 911 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(pt.x * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && channels 920 modules/core/include/opencv2/core/mat.inl.hpp (unsigned)(pt.x * DataType<_Tp>::channels) < (unsigned)(size.p[1] * channels()) && channels 1050 modules/core/include/opencv2/core/mat.inl.hpp rows + cols - 1 == n && channels() == 1 ); channels 1063 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert( data && dims <= 2 && rows == m && cols == n && channels() == 1 ); channels 1274 modules/core/include/opencv2/core/mat.inl.hpp : Mat(n / DataType<_Tp>::channels, 1, DataType<_Tp>::type, (void*)&vec) channels 1276 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n%DataType<_Tp>::channels == 0); channels 1283 modules/core/include/opencv2/core/mat.inl.hpp : Mat(m, n / DataType<_Tp>::channels, DataType<_Tp>::type, (void*)&M) channels 1285 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n % DataType<_Tp>::channels == 0); channels 1292 modules/core/include/opencv2/core/mat.inl.hpp : Mat(2 / DataType<_Tp>::channels, 1, DataType<_Tp>::type, (void*)&pt) channels 1294 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(2 % DataType<_Tp>::channels == 0); channels 1301 modules/core/include/opencv2/core/mat.inl.hpp : Mat(3 / DataType<_Tp>::channels, 1, DataType<_Tp>::type, (void*)&pt) channels 1303 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(3 % DataType<_Tp>::channels == 0); channels 1328 modules/core/include/opencv2/core/mat.inl.hpp return (*this = m.reshape(DataType<_Tp>::channels, m.dims, 0)); channels 1330 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert(DataType<_Tp>::channels == m.channels()); channels 1414 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( Mat::elemSize1() == sizeof(_Tp) / DataType<_Tp>::channels ); channels 1415 modules/core/include/opencv2/core/mat.inl.hpp return sizeof(_Tp) / DataType<_Tp>::channels; channels 1435 modules/core/include/opencv2/core/mat.inl.hpp CV_DbgAssert( Mat::channels() == DataType<_Tp>::channels ); channels 1436 modules/core/include/opencv2/core/mat.inl.hpp return DataType<_Tp>::channels; channels 1588 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n % DataType<_Tp>::channels == 0); channels 1595 modules/core/include/opencv2/core/mat.inl.hpp CV_Assert(n % DataType<_Tp>::channels == 0); channels 2056 modules/core/include/opencv2/core/mat.inl.hpp return DataType<_Tp>::channels; channels 93 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels), channels 242 modules/core/include/opencv2/core/matx.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 243 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels) channels 306 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels) channels 400 modules/core/include/opencv2/core/matx.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 401 modules/core/include/opencv2/core/matx.hpp type = CV_MAKETYPE(depth, channels) channels 484 modules/core/include/opencv2/core/matx.hpp for(int i = 0; i < channels; i++) val[i] = _Tp(0); channels 491 modules/core/include/opencv2/core/matx.hpp for(int i = 1; i < channels; i++) val[i] = _Tp(0); channels 497 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 2, "Matx should have at least 2 elaments."); channels 499 modules/core/include/opencv2/core/matx.hpp for(int i = 2; i < channels; i++) val[i] = _Tp(0); channels 505 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 3, "Matx should have at least 3 elaments."); channels 507 modules/core/include/opencv2/core/matx.hpp for(int i = 3; i < channels; i++) val[i] = _Tp(0); channels 513 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 4, "Matx should have at least 4 elaments."); channels 515 modules/core/include/opencv2/core/matx.hpp for(int i = 4; i < channels; i++) val[i] = _Tp(0); channels 521 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 5, "Matx should have at least 5 elaments."); channels 523 modules/core/include/opencv2/core/matx.hpp for(int i = 5; i < channels; i++) val[i] = _Tp(0); channels 529 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 6, "Matx should have at least 6 elaments."); channels 532 modules/core/include/opencv2/core/matx.hpp for(int i = 6; i < channels; i++) val[i] = _Tp(0); channels 538 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 7, "Matx should have at least 7 elaments."); channels 541 modules/core/include/opencv2/core/matx.hpp for(int i = 7; i < channels; i++) val[i] = _Tp(0); channels 547 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 8, "Matx should have at least 8 elaments."); channels 550 modules/core/include/opencv2/core/matx.hpp for(int i = 8; i < channels; i++) val[i] = _Tp(0); channels 556 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 9, "Matx should have at least 9 elaments."); channels 560 modules/core/include/opencv2/core/matx.hpp for(int i = 9; i < channels; i++) val[i] = _Tp(0); channels 566 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels >= 10, "Matx should have at least 10 elaments."); channels 570 modules/core/include/opencv2/core/matx.hpp for(int i = 10; i < channels; i++) val[i] = _Tp(0); channels 577 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels == 12, "Matx should have at least 12 elaments."); channels 586 modules/core/include/opencv2/core/matx.hpp CV_StaticAssert(channels == 16, "Matx should have at least 16 elaments."); channels 596 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) val[i] = values[i]; channels 632 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) s += val[i]*M.val[i]; channels 640 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) s += (double)val[i]*M.val[i]; channels 739 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) channels 746 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) channels 753 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) channels 760 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) channels 767 modules/core/include/opencv2/core/matx.hpp for( int i = 0; i < channels; i++ ) channels 264 modules/core/include/opencv2/core/opengl.hpp int channels() const; channels 806 modules/core/include/opencv2/core/persistence.hpp size_t cn = DataType<_Tp>::channels; channels 117 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 132 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 147 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 162 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 177 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 192 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 207 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 222 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 237 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 252 modules/core/include/opencv2/core/traits.hpp type = CV_MAKETYPE(depth, channels) channels 102 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 103 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) }; channels 105 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 193 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 194 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 197 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 260 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 261 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 264 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 320 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 321 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 324 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 421 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 422 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 425 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 497 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 498 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 501 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 553 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 554 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 557 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 609 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 610 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 613 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 712 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 713 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 716 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 755 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 756 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 759 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 877 modules/core/include/opencv2/core/types.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 878 modules/core/include/opencv2/core/types.hpp type = CV_MAKETYPE(depth, channels) channels 881 modules/core/include/opencv2/core/types.hpp typedef Vec<channel_type, channels> vec_type; channels 419 modules/core/include/opencv2/core/wimage.hpp WImageView(T* data, int width, int height, int channels, int width_step = -1); channels 26 modules/core/misc/java/src/java/core+CvType.java public static final int makeType(int depth, int channels) { channels 27 modules/core/misc/java/src/java/core+CvType.java if (channels <= 0 || channels >= CV_CN_MAX) { channels 35 modules/core/misc/java/src/java/core+CvType.java return (depth & (CV_DEPTH_MAX - 1)) + ((channels - 1) << CV_CN_SHIFT); channels 82 modules/core/misc/java/src/java/core+CvType.java return channels(type); channels 85 modules/core/misc/java/src/java/core+CvType.java return 2 * channels(type); channels 88 modules/core/misc/java/src/java/core+CvType.java return 4 * channels(type); channels 90 modules/core/misc/java/src/java/core+CvType.java return 8 * channels(type); channels 129 modules/core/misc/java/src/java/core+CvType.java int ch = channels(type); channels 934 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 939 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 946 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 951 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 961 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 966 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 976 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 981 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 991 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 996 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 1006 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 1011 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 1021 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 1026 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 1036 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 1041 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 1051 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 1056 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 1066 modules/core/misc/java/src/java/core+Mat.java if (data == null || data.length % CvType.channels(t) != 0) channels 1071 modules/core/misc/java/src/java/core+Mat.java CvType.channels(t) + ")"); channels 41 modules/core/misc/java/test/CvTypeTest.java assertEquals(1, CvType.channels(CvType.CV_64F)); channels 54 modules/core/misc/java/test/MatTest.java assertEquals(1, gray0.channels()); channels 55 modules/core/misc/java/test/MatTest.java assertEquals(3, rgbLena.channels()); channels 56 modules/core/misc/java/test/MatTest.java assertEquals(4, rgba0.channels()); channels 245 modules/core/misc/java/test/MatTest.java assertEquals(Byte.SIZE / 8 * gray0.channels(), gray0.elemSize()); channels 246 modules/core/misc/java/test/MatTest.java assertEquals(Float.SIZE / 8 * gray0_32f.channels(), gray0_32f.elemSize()); channels 247 modules/core/misc/java/test/MatTest.java assertEquals(Byte.SIZE / 8 * rgbLena.channels(), rgbLena.elemSize()); channels 278 modules/core/misc/java/test/MatTest.java final int ch = CvType.channels(type); channels 905 modules/core/misc/java/test/MatTest.java assertEquals(matSize * CvType.channels(CvType.CV_8U), gray0.step1()); channels 914 modules/core/misc/java/test/MatTest.java assertTrue(rgba0.channels() * rgba0.cols() <= roi.step1(0)); channels 915 modules/core/misc/java/test/MatTest.java assertEquals(rgba0.channels(), roi.step1(1)); channels 916 modules/core/misc/java/test/MatTest.java assertTrue(m.channels() * (10 - 7) <= m.step1(0)); channels 917 modules/core/misc/java/test/MatTest.java assertEquals(m.channels(), m.step1(1)); channels 64 modules/core/perf/cuda/perf_gpumat.cpp const int channels = GET_PARAM(2); channels 66 modules/core/perf/cuda/perf_gpumat.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 96 modules/core/perf/cuda/perf_gpumat.cpp const int channels = GET_PARAM(2); channels 98 modules/core/perf/cuda/perf_gpumat.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 133 modules/core/perf/cuda/perf_gpumat.cpp const int channels = GET_PARAM(2); channels 135 modules/core/perf/cuda/perf_gpumat.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 65 modules/core/perf/opencl/perf_arithm.cpp int dstType = CV_MAKETYPE(lut.depth(), src.channels()); channels 26 modules/core/perf/perf_convertTo.cpp int channels = get<3>(GetParam()); channels 29 modules/core/perf/perf_convertTo.cpp Mat src(sz, CV_MAKETYPE(depthSrc, channels)); channels 31 modules/core/perf/perf_convertTo.cpp Mat dst(sz, CV_MAKETYPE(depthDst, channels)); channels 122 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); channels 149 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); channels 176 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); channels 23 modules/core/perf/perf_split.cpp int channels = get<2>(GetParam()); channels 25 modules/core/perf/perf_split.cpp Mat m(sz, CV_MAKETYPE(depth, channels)); channels 1957 modules/core/src/arithm.cpp Size sz = getContinuousSize(src1, src2, dst, src1.channels()); channels 2287 modules/core/src/arithm.cpp _dst.create(src1.size(), CV_MAKE_TYPE(dtype, src1.channels())); channels 5019 modules/core/src/arithm.cpp int cn = src1.channels(); channels 5022 modules/core/src/arithm.cpp Size sz = getContinuousSize(src1, src2, dst, src1.channels()); channels 5027 modules/core/src/arithm.cpp int cn = src1.channels(), depth1 = src1.depth(), depth2 = src2.depth(); channels 5711 modules/core/src/arithm.cpp int cn = src.channels(), depth = src.depth(); channels 5875 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); channels 5886 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); channels 5897 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); channels 5908 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); channels 5920 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); channels 5930 modules/core/src/arithm.cpp CV_Assert( src2.size == dst.size && src2.channels() == dst.channels() ); channels 5946 modules/core/src/arithm.cpp CV_Assert( src1.size == dst.size && src1.channels() == dst.channels() ); channels 2873 modules/core/src/array.cpp cvCreateImageHeader( CvSize size, int depth, int channels ) channels 2880 modules/core/src/array.cpp cvInitImageHeader( img, size, depth, channels, IPL_ORIGIN_TL, channels 2887 modules/core/src/array.cpp icvGetColorModel( channels, &colorModel, &channelSeq ); channels 2889 modules/core/src/array.cpp img = CvIPL.createHeader( channels, 0, depth, (char*)colorModel, (char*)channelSeq, channels 2901 modules/core/src/array.cpp cvCreateImage( CvSize size, int depth, int channels ) channels 2903 modules/core/src/array.cpp IplImage *img = cvCreateImageHeader( size, depth, channels ); channels 2914 modules/core/src/array.cpp int channels, int origin, int align ) channels 2924 modules/core/src/array.cpp icvGetColorModel( channels, &colorModel, &channelSeq ); channels 2935 modules/core/src/array.cpp channels < 0 ) channels 2954 modules/core/src/array.cpp image->nChannels = MAX( channels, 1 ); channels 824 modules/core/src/convert.cpp int k, depth = src.depth(), cn = src.channels(); channels 928 modules/core/src/convert.cpp int depth = m.depth(), cn = m.channels(); channels 951 modules/core/src/convert.cpp allch1 = allch1 && mv[i].channels() == 1; channels 952 modules/core/src/convert.cpp cn += mv[i].channels(); channels 972 modules/core/src/convert.cpp ni = mv[i].channels(); channels 1052 modules/core/src/convert.cpp cndecl += format(" -D scn%d=%d", i, ksrc[i].channels()); channels 1202 modules/core/src/convert.cpp for( j = 0; j < nsrcs; i0 -= src[j].channels(), j++ ) channels 1203 modules/core/src/convert.cpp if( i0 < src[j].channels() ) channels 1207 modules/core/src/convert.cpp sdelta[i] = src[j].channels(); channels 1215 modules/core/src/convert.cpp for( j = 0; j < ndsts; i1 -= dst[j].channels(), j++ ) channels 1216 modules/core/src/convert.cpp if( i1 < dst[j].channels() ) channels 1220 modules/core/src/convert.cpp ddelta[i] = dst[j].channels(); channels 1259 modules/core/src/convert.cpp int ccn = um[i].channels(); channels 1321 modules/core/src/convert.cpp declcn += format(" -D scn%d=%d -D dcn%d=%d", i, src[src_idx].channels(), i, dst[dst_idx].channels()); channels 5544 modules/core/src/convert.cpp int cn = src.channels(); channels 5575 modules/core/src/convert.cpp _type = CV_MAKETYPE(CV_MAT_DEPTH(_type), channels()); channels 5588 modules/core/src/convert.cpp int cn = channels(); channels 5682 modules/core/src/convert.cpp int lcn = _lut.channels(), dcn = _src.channels(), ddepth = _lut.depth(); channels 5725 modules/core/src/convert.cpp width = dst.cols * dst.channels(); channels 5780 modules/core/src/convert.cpp lutcn = lut.channels(); channels 5892 modules/core/src/convert.cpp int cn = src.channels(); channels 5893 modules/core/src/convert.cpp int lutcn = lut_.channels(); channels 5912 modules/core/src/convert.cpp int cn = _src.channels(), depth = _src.depth(); channels 5913 modules/core/src/convert.cpp int lutcn = _lut.channels(); channels 5990 modules/core/src/convert.cpp else if (src.channels() <= 4) channels 6131 modules/core/src/convert.cpp CV_Assert( dvec[j].channels() == 1 ); channels 6132 modules/core/src/convert.cpp CV_Assert( i < src.channels() ); channels 6138 modules/core/src/convert.cpp if( nz == src.channels() ) channels 6167 modules/core/src/convert.cpp svec[j].channels() == 1 && i < dst.channels() ); channels 6174 modules/core/src/convert.cpp if( nz == dst.channels() ) channels 6203 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && dst.type() == CV_8UC(src.channels())); channels 6213 modules/core/src/convert.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() ); channels 6221 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && dst.type() == CV_MAKETYPE(lut.depth(), src.channels()) ); channels 6231 modules/core/src/convert.cpp CV_Assert( dst.size() == src.size() && src.channels() == dst.channels() ); channels 281 modules/core/src/copy.cpp CV_Assert( channels() == CV_MAT_CN(dtype) ); channels 366 modules/core/src/copy.cpp int cn = channels(), mcn = mask.channels(); channels 478 modules/core/src/copy.cpp int cn = channels(), depth0 = depth(); channels 1307 modules/core/src/copy.cpp int cn = src.channels(), cn1 = cn; channels 1371 modules/core/src/copy.cpp CV_Assert( (coi1 != 0 || src.channels() == 1) && channels 1372 modules/core/src/copy.cpp (coi2 != 0 || dst.channels() == 1) ); channels 1379 modules/core/src/copy.cpp CV_Assert( src.channels() == dst.channels() ); channels 165 modules/core/src/cuda_gpu_mat.cpp int cn = channels(); channels 266 modules/core/src/cuda_gpu_mat.cpp obj = obj.reshape(obj.channels(), rows); channels 247 modules/core/src/cuda_host_mem.cpp int cn = channels(); channels 1902 modules/core/src/dxt.cpp options += src.channels() == 1 ? " -D REAL_INPUT" : " -D COMPLEX_INPUT"; channels 1903 modules/core/src/dxt.cpp options += dst.channels() == 1 ? " -D REAL_OUTPUT" : " -D COMPLEX_OUTPUT"; channels 1908 modules/core/src/dxt.cpp if ((is1d && src.channels() == 1) || (rows && (fftType == R2R))) channels 2496 modules/core/src/dxt.cpp int nf = 0, real_transform = src.channels() == 1 || (inv && (flags & DFT_REAL_OUTPUT)!=0); channels 2508 modules/core/src/dxt.cpp if( !inv && src.channels() == 1 && (flags & DFT_COMPLEX_OUTPUT) ) channels 2510 modules/core/src/dxt.cpp else if( inv && src.channels() == 2 && (flags & DFT_REAL_OUTPUT) ) channels 2524 modules/core/src/dxt.cpp if (src.channels() == 2 && !(inv && (flags & DFT_REAL_OUTPUT))) channels 2533 modules/core/src/dxt.cpp if (src.channels() == 1 && (inv || !(flags & DFT_COMPLEX_OUTPUT))) channels 2545 modules/core/src/dxt.cpp if (src.channels() == 2 && !(inv && (flags & DFT_REAL_OUTPUT))) channels 2555 modules/core/src/dxt.cpp if (src.channels() == 1 && (inv || !(flags & DFT_COMPLEX_OUTPUT))) channels 2704 modules/core/src/dxt.cpp int _flags = (int)inv + (src.channels() != dst.channels() ? channels 2750 modules/core/src/dxt.cpp if( !inv && real_transform && dst.channels() == 2 ) channels 2792 modules/core/src/dxt.cpp sptr0 += dst.channels()*elem_size; channels 2800 modules/core/src/dxt.cpp else if( src.channels() == 1 ) channels 2829 modules/core/src/dxt.cpp if( dst.channels() == 1 ) channels 2894 modules/core/src/dxt.cpp if( !inv && real_transform && dst.channels() == 2 && len > 1 ) channels 2954 modules/core/src/dxt.cpp int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type(); channels 3820 modules/core/src/dxt.cpp if( dst.channels() == 2 ) channels 224 modules/core/src/kmeans.cpp bool isrow = data0.rows == 1 && data0.channels() > 1; channels 226 modules/core/src/kmeans.cpp int dims = (!isrow ? data0.cols : 1)*data0.channels(); channels 172 modules/core/src/mathfuncs.cpp int type = src1.type(), depth = src1.depth(), cn = src1.channels(); channels 207 modules/core/src/mathfuncs.cpp int type = src1.type(), depth = src1.depth(), cn = src1.channels(); channels 346 modules/core/src/mathfuncs.cpp int type = X.type(), depth = X.depth(), cn = X.channels(); channels 789 modules/core/src/mathfuncs.cpp int type = _src.type(), depth = _src.depth(), cn = _src.channels(); channels 856 modules/core/src/mathfuncs.cpp int type = _src.type(), depth = _src.depth(), cn = _src.channels(); channels 1590 modules/core/src/mathfuncs.cpp bad_pt.x = i % src.channels(); channels 1647 modules/core/src/mathfuncs.cpp Size size = getContinuousSize( src, src.channels() ); channels 1732 modules/core/src/mathfuncs.cpp int cn = a.channels(); channels 1754 modules/core/src/mathfuncs.cpp size_t len = it.size*a.channels(); channels 2057 modules/core/src/mathfuncs.cpp Mat coeffs1(coeffs0.size(), CV_MAKETYPE(CV_64F, coeffs0.channels()), coeffs0.channels() == 2 ? coeffs : roots); channels 2059 modules/core/src/mathfuncs.cpp if( coeffs0.channels() == 1 ) channels 2101 modules/core/src/mathfuncs.cpp if( coeffs0.channels() == 1 ) channels 794 modules/core/src/matmul.cpp int depth = matA.depth(), cn = matA.channels(); channels 1946 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows; channels 2124 modules/core/src/matmul.cpp int depth = src.depth(), scn = src.channels(), dcn = m.rows-1; channels 2492 modules/core/src/matmul.cpp int i, j, len = sz.width*sz.height*v1.channels(); channels 2499 modules/core/src/matmul.cpp sz.width *= v1.channels(); channels 2783 modules/core/src/matmul.cpp CV_Assert( src.channels() == 1 ); channels 2787 modules/core/src/matmul.cpp CV_Assert( delta.channels() == 1 && channels 3242 modules/core/src/matmul.cpp int cn = channels(); channels 3303 modules/core/src/matmul.cpp CV_Assert( dst.depth() == src.depth() && dst.channels() == m.rows ); channels 3313 modules/core/src/matmul.cpp CV_Assert( dst.type() == src.type() && dst.channels() == m.rows-1 ); channels 1199 modules/core/src/matop.cpp CV_Assert( CV_MAT_CN(_type) == e.a.channels() ); channels 935 modules/core/src/matrix.cpp CV_Assert(0 <= coi && coi < mat.channels()); channels 948 modules/core/src/matrix.cpp CV_Assert(ch.size == mat.size && ch.depth() == mat.depth() && 0 <= coi && coi < mat.channels()); channels 958 modules/core/src/matrix.cpp int cn = channels(); channels 1028 modules/core/src/matrix.cpp ((dims == 2 && (((rows == 1 || cols == 1) && channels() == _elemChannels) || channels 1029 modules/core/src/matrix.cpp (cols == _elemChannels && channels() == 1))) || channels 1030 modules/core/src/matrix.cpp (dims == 3 && channels() == 1 && size.p[2] == _elemChannels && (size.p[0] == 1 || size.p[1] == 1) && channels 1032 modules/core/src/matrix.cpp ? (int)(total()*channels()/_elemChannels) : -1; channels 2233 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) channels 2267 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) channels 2423 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) channels 2482 modules/core/src/matrix.cpp if(CV_MAT_CN(mtype) == m.channels() && ((1 << CV_MAT_TYPE(flags)) & fixedDepthMask) != 0 ) channels 3232 modules/core/src/matrix.cpp ((rows == 3 && cols == 1) || (cols*channels() == 3 && rows == 1))); channels 3272 modules/core/src/matrix.cpp size.width *= srcmat.channels(); channels 3315 modules/core/src/matrix.cpp int i, k, cn = srcmat.channels(); channels 3477 modules/core/src/matrix.cpp if (CV_IPP_CHECK_COND && (srcmat.channels() == 1)) \ channels 4048 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); channels 4063 modules/core/src/matrix.cpp CV_Assert( src.dims <= 2 && src.channels() == 1 && func != 0 ); channels 4127 modules/core/src/matrix.cpp if( src.channels() != dst.channels() ) channels 4836 modules/core/src/matrix.cpp int cn = channels(); channels 4880 modules/core/src/matrix.cpp int cn = channels(); channels 5412 modules/core/src/matrix.cpp cvInitImageHeader(this, m.size(), cvIplDepth(m.flags), m.channels()); channels 5593 modules/core/src/ocl.cpp int err, depth = src.depth(), cn = src.channels(); channels 1240 modules/core/src/opengl.cpp const int cn = vertex.channels(); channels 1262 modules/core/src/opengl.cpp const int cn = color.channels(); channels 1279 modules/core/src/opengl.cpp const int cn = normal.channels(); channels 1298 modules/core/src/opengl.cpp const int cn = texCoord.channels(); channels 1352 modules/core/src/opengl.cpp gl::TexCoordPointer(texCoord_.channels(), gl_types[texCoord_.depth()], 0, 0); channels 1384 modules/core/src/opengl.cpp const int cn = color_.channels(); channels 1402 modules/core/src/opengl.cpp gl::VertexPointer(vertex_.channels(), gl_types[vertex_.depth()], 0, 0); channels 1529 modules/core/src/opengl.cpp CV_Assert( buf.channels() == 1 ); channels 1555 modules/core/src/opengl.cpp CV_Assert( mat.channels() == 1 ); channels 91 modules/core/src/out.cpp mcn = m.channels(); channels 72 modules/core/src/pca.cpp CV_Assert( data.channels() == 1 ); channels 209 modules/core/src/pca.cpp CV_Assert( data.channels() == 1 ); channels 485 modules/core/src/rand.cpp int depth = mat.depth(), cn = mat.channels(); channels 491 modules/core/src/rand.cpp CV_Assert(_param1.channels() == 1 && (_param1.rows == 1 || _param1.cols == 1) && channels 494 modules/core/src/rand.cpp CV_Assert( _param2.channels() == 1 && channels 57 modules/core/src/stat.cpp int i, n = DataType<T>::channels; channels 1036 modules/core/src/stat.cpp int cn = m.channels(); channels 1153 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); channels 1359 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); channels 1587 modules/core/src/stat.cpp int k, j, cn = _src.channels(); channels 1629 modules/core/src/stat.cpp int k, cn = src.channels(), depth = src.depth(); channels 2631 modules/core/src/stat.cpp int depth = src.depth(), cn = src.channels(); channels 3118 modules/core/src/stat.cpp int depth = src1.depth(), cn = src1.channels(); channels 3277 modules/core/src/stat.cpp for( int i = 1; i < src1.channels(); i++ ) channels 3297 modules/core/src/stat.cpp size_t len = src1.total()*src1.channels(); channels 3788 modules/core/src/stat.cpp double diff = std::sqrt(norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); channels 3811 modules/core/src/stat.cpp if( img.channels() > 1 ) channels 3871 modules/core/src/stat.cpp if( img.channels() > 1 ) channels 3893 modules/core/src/stat.cpp if( a.channels() > 1 && CV_IS_IMAGE(imgA) && cvGetImageCOI((const IplImage*)imgA) > 0 ) channels 3900 modules/core/src/stat.cpp if( b.channels() > 1 && CV_IS_IMAGE(imgB) && cvGetImageCOI((const IplImage*)imgB) > 0 ) channels 481 modules/core/src/umatrix.cpp int cn = channels(); channels 551 modules/core/src/umatrix.cpp ((dims == 2 && (((rows == 1 || cols == 1) && channels() == _elemChannels) || channels 552 modules/core/src/umatrix.cpp (cols == _elemChannels && channels() == 1))) || channels 553 modules/core/src/umatrix.cpp (dims == 3 && channels() == 1 && size.p[2] == _elemChannels && (size.p[0] == 1 || size.p[1] == 1) && channels 555 modules/core/src/umatrix.cpp ? (int)(total()*channels()/_elemChannels) : -1; channels 625 modules/core/src/umatrix.cpp CV_Assert( channels() == CV_MAT_CN(dtype) ); channels 671 modules/core/src/umatrix.cpp int cn = channels(), mtype = _mask.type(), mdepth = CV_MAT_DEPTH(mtype), mcn = CV_MAT_CN(mtype); channels 119 modules/core/test/ocl/test_channels.cpp dcn += src_roi[i].channels(); channels 335 modules/core/test/ocl/test_channels.cpp scntotal += src_roi[i].channels(); channels 337 modules/core/test/ocl/test_channels.cpp dcntotal += dst_roi[i].channels(); channels 561 modules/core/test/test_arithm.cpp int depth = src.depth(), cn = src.channels(); channels 609 modules/core/test/test_arithm.cpp int depth = src.depth(), cn = src.channels(); channels 715 modules/core/test/test_arithm.cpp cvtest::convert(src[0], dst, CV_MAKETYPE(ddepth, src[0].channels()), alpha, gamma[0]); channels 750 modules/core/test/test_arithm.cpp cvtest::add(src[0], alpha, Mat(), 0, Scalar::all(gamma[0]), dst, CV_8UC(src[0].channels()), true); channels 793 modules/core/test/test_arithm.cpp CV_Assert( dst.dims == 2 && dst.channels() <= 4 ); channels 902 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total()*src.channels(); channels 931 modules/core/test/test_arithm.cpp size_t j, total = planes[0].total()*src.channels(); channels 1209 modules/core/test/test_arithm.cpp cn = temp.channels(); channels 1612 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); channels 1638 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); channels 1675 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); channels 1700 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); channels 1724 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); channels 1749 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(size, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src.channels())); channels 1776 modules/core/test/test_arithm.cpp const cv::Mat fixed_dst(3, dims, CV_MAKE_TYPE((dst_depth > 0 ? dst_depth : CV_16S), src1.channels())); channels 278 modules/core/test/test_dxt.cpp int cn = _src0.channels(); channels 702 modules/core/test/test_dxt.cpp int src_cn = src.channels(); channels 703 modules/core/test/test_dxt.cpp int dst_cn = dst.channels(); channels 813 modules/core/test/test_dxt.cpp int cn = src1->channels(); channels 24 modules/core/test/test_mat.cpp assert( src.channels() == 1 ); channels 943 modules/core/test/test_mat.cpp const int mChannels = m.channels(); channels 952 modules/core/test/test_mat.cpp const size_t mvChannel = mv[i].channels(); channels 993 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t channels, const Size& size, RNG& rng) = 0; channels 1045 modules/core/test/test_mat.cpp int channels = 0; channels 1050 modules/core/test/test_mat.cpp channels += m.channels(); channels 1072 modules/core/test/test_mat.cpp if(dst.channels() != channels) channels 1075 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.channels(), channels); channels 1083 modules/core/test/test_mat.cpp commonLog.str().c_str(), static_cast<float>(diffElemCount)/(channels*size.area())); channels 1098 modules/core/test/test_mat.cpp virtual int run_case(int depth, size_t channels, const Size& size, RNG& rng) channels 1100 modules/core/test/test_mat.cpp Mat src(size, CV_MAKETYPE(depth, (int)channels)); channels 1109 modules/core/test/test_mat.cpp if(dst.size() != channels) channels 1112 modules/core/test/test_mat.cpp commonLog.str().c_str(), dst.size(), channels); channels 1129 modules/core/test/test_mat.cpp if(dst[i].channels() != 1) channels 1132 modules/core/test/test_mat.cpp commonLog.str().c_str(), i, dst[i].channels(), 1); channels 1141 modules/core/test/test_mat.cpp commonLog.str().c_str(), static_cast<float>(diffElemCount)/(channels*size.area())); channels 1187 modules/core/test/test_mat.cpp cn = M.channels(); channels 219 modules/core/test/test_math.cpp int ncols = a.cols*a.channels(); channels 116 modules/core/test/test_operations.cpp m.channels() == DataType<_Tp>::channels && channels 672 modules/core/test/test_operations.cpp if (Mat_<unsigned short>(1, 1).channels() != 1) throw test_excep(); channels 673 modules/core/test/test_operations.cpp if (Mat_<Point2f>(1, 1).channels() != 2) throw test_excep(); channels 674 modules/core/test/test_operations.cpp if (Mat_<Point3f>(1, 1).channels() != 3) throw test_excep(); channels 675 modules/core/test/test_operations.cpp if (Mat_<Point3d>(1, 1).channels() != 3) throw test_excep(); channels 757 modules/core/test/test_operations.cpp if (Mat1f(1, 1).channels() != 1) throw test_excep(); channels 758 modules/core/test/test_operations.cpp if (Mat1b(1, 1).channels() != 1) throw test_excep(); channels 759 modules/core/test/test_operations.cpp if (Mat1i(1, 1).channels() != 1) throw test_excep(); channels 760 modules/core/test/test_operations.cpp if (Mat1w(1, 1).channels() != 1) throw test_excep(); channels 761 modules/core/test/test_operations.cpp if (Mat1s(1, 1).channels() != 1) throw test_excep(); channels 762 modules/core/test/test_operations.cpp if (Mat2f(1, 1).channels() != 2) throw test_excep(); channels 763 modules/core/test/test_operations.cpp if (Mat2b(1, 1).channels() != 2) throw test_excep(); channels 764 modules/core/test/test_operations.cpp if (Mat2i(1, 1).channels() != 2) throw test_excep(); channels 765 modules/core/test/test_operations.cpp if (Mat2w(1, 1).channels() != 2) throw test_excep(); channels 766 modules/core/test/test_operations.cpp if (Mat2s(1, 1).channels() != 2) throw test_excep(); channels 767 modules/core/test/test_operations.cpp if (Mat3f(1, 1).channels() != 3) throw test_excep(); channels 768 modules/core/test/test_operations.cpp if (Mat3b(1, 1).channels() != 3) throw test_excep(); channels 769 modules/core/test/test_operations.cpp if (Mat3i(1, 1).channels() != 3) throw test_excep(); channels 770 modules/core/test/test_operations.cpp if (Mat3w(1, 1).channels() != 3) throw test_excep(); channels 771 modules/core/test/test_operations.cpp if (Mat3s(1, 1).channels() != 3) throw test_excep(); channels 839 modules/core/test/test_operations.cpp if (mat.channels() != 2) throw test_excep(); channels 146 modules/core/test/test_umat.cpp ASSERT_EQ(ua.channels(), cn); channels 303 modules/core/test/test_umat.cpp if ((ua.cols*ua.channels()*ua.rows)%nChannels != 0) channels 310 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels(),nChannels); channels 311 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels()*ub.cols*ub.rows, ua.channels()*ua.cols*ua.rows); channels 316 modules/core/test/test_umat.cpp if ( ((int)ua.total()*ua.channels())%(new_rows*nChannels) != 0) channels 323 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels(),nChannels); channels 325 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels()*ub.cols*ub.rows, ua.channels()*ua.cols*ua.rows); channels 330 modules/core/test/test_umat.cpp new_rows = (int)ua.total()*ua.channels()/(nChannels*randomInt(1, size.width*size.height)); channels 332 modules/core/test/test_umat.cpp int new_cols = (int)ua.total()*ua.channels()/(new_rows*nChannels); channels 334 modules/core/test/test_umat.cpp if( ((int)ua.total()*ua.channels()) % (new_rows*new_cols) != 0 ) channels 341 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels(),nChannels); channels 344 modules/core/test/test_umat.cpp ASSERT_EQ(ub.channels()*ub.cols*ub.rows, ua.channels()*ua.cols*ua.rows); channels 61 modules/cudaarithm/perf/perf_core.cpp const int channels = GET_PARAM(2); channels 63 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::Mat> src(channels); channels 64 modules/cudaarithm/perf/perf_core.cpp for (int i = 0; i < channels; ++i) channels 72 modules/cudaarithm/perf/perf_core.cpp std::vector<cv::cuda::GpuMat> d_src(channels); channels 73 modules/cudaarithm/perf/perf_core.cpp for (int i = 0; i < channels; ++i) channels 102 modules/cudaarithm/perf/perf_core.cpp const int channels = GET_PARAM(2); channels 104 modules/cudaarithm/perf/perf_core.cpp cv::Mat src(size, CV_MAKE_TYPE(depth, channels)); channels 182 modules/cudaarithm/perf/perf_core.cpp const int channels = GET_PARAM(2); channels 185 modules/cudaarithm/perf/perf_core.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 259 modules/cudaarithm/perf/perf_core.cpp cv::Mat lut(1, 256, CV_MAKE_TYPE(CV_8U, src.channels())); channels 296 modules/cudaarithm/perf/perf_core.cpp const int channels = GET_PARAM(2); channels 299 modules/cudaarithm/perf/perf_core.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 786 modules/cudaarithm/perf/perf_element_operations.cpp const int channels = GET_PARAM(2); channels 788 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 862 modules/cudaarithm/perf/perf_element_operations.cpp const int channels = GET_PARAM(2); channels 864 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 938 modules/cudaarithm/perf/perf_element_operations.cpp const int channels = GET_PARAM(2); channels 940 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 978 modules/cudaarithm/perf/perf_element_operations.cpp const int channels = GET_PARAM(2); channels 980 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 1012 modules/cudaarithm/perf/perf_element_operations.cpp const int channels = GET_PARAM(2); channels 1014 modules/cudaarithm/perf/perf_element_operations.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 138 modules/cudaarithm/perf/perf_reductions.cpp const int channels = GET_PARAM(2); channels 140 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 174 modules/cudaarithm/perf/perf_reductions.cpp const int channels = GET_PARAM(2); channels 176 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 206 modules/cudaarithm/perf/perf_reductions.cpp const int channels = GET_PARAM(2); channels 208 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 355 modules/cudaarithm/perf/perf_reductions.cpp const int channels = GET_PARAM(2); channels 359 modules/cudaarithm/perf/perf_reductions.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 312 modules/cudaarithm/src/arithm.cpp const bool is_complex_input = src.channels() == 2; channels 125 modules/cudaarithm/src/core.cpp CV_Assert(src.channels() == 1 || src.channels() == 3 || src.channels() == 4); channels 130 modules/cudaarithm/src/core.cpp funcs[src.depth()][src.channels() - 1](src, dst, flipCode, StreamAccessor::getStream(stream)); channels 132 modules/cudaarithm/src/element_operations.cpp const int cn = src1.empty() ? src2.channels() : src1.channels(); channels 400 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); channels 404 modules/cudaarithm/src/element_operations.cpp funcs[src.depth()][src.channels() - 1](src, val, dst, StreamAccessor::getStream(stream)); channels 424 modules/cudaarithm/src/element_operations.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); channels 428 modules/cudaarithm/src/element_operations.cpp funcs[src.depth()][src.channels() - 1](src, val, dst, StreamAccessor::getStream(stream)); channels 221 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(2, d_b.channels()); channels 283 modules/cudaarithm/test/test_arithm.cpp ASSERT_EQ(1, d_c.channels()); channels 57 modules/cudaarithm/test/test_core.cpp int channels; channels 65 modules/cudaarithm/test/test_core.cpp channels = GET_PARAM(3); channels 75 modules/cudaarithm/test/test_core.cpp src.reserve(channels); channels 76 modules/cudaarithm/test/test_core.cpp for (int i = 0; i < channels; ++i) channels 80 modules/cudaarithm/test/test_core.cpp for (int i = 0; i < channels; ++i) channels 122 modules/cudaarithm/test/test_core.cpp int channels; channels 132 modules/cudaarithm/test/test_core.cpp channels = GET_PARAM(3); channels 137 modules/cudaarithm/test/test_core.cpp type = CV_MAKE_TYPE(depth, channels); channels 328 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels())); channels 340 modules/cudaarithm/test/test_core.cpp cv::Mat lut = randomMat(cv::Size(256, 1), CV_MAKE_TYPE(CV_8U, src.channels())); channels 344 modules/cudaarithm/test/test_core.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(lut.depth(), src.channels()), useRoi); channels 57 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 68 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 73 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); channels 74 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); channels 360 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 371 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 376 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); channels 377 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); channels 663 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 674 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 679 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); channels 680 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); channels 1030 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 1041 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 1046 modules/cudaarithm/test/test_element_operations.cpp stype = CV_MAKE_TYPE(depth.first, channels); channels 1047 modules/cudaarithm/test/test_element_operations.cpp dtype = CV_MAKE_TYPE(depth.second, channels); channels 1904 modules/cudaarithm/test/test_element_operations.cpp const int cn = src.channels(); channels 1987 modules/cudaarithm/test/test_element_operations.cpp cv::cuda::GpuMat dst = createMat(size, CV_MAKE_TYPE(CV_8U, src.channels()), useRoi); channels 2083 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 2093 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 2097 modules/cudaarithm/test/test_element_operations.cpp src = randomMat(size, CV_MAKE_TYPE(depth, channels)); channels 2149 modules/cudaarithm/test/test_element_operations.cpp const int cn = src.channels(); channels 2181 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 2189 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 2198 modules/cudaarithm/test/test_element_operations.cpp int type = CV_MAKE_TYPE(depth, channels); channels 2229 modules/cudaarithm/test/test_element_operations.cpp const int cn = src.channels(); channels 2261 modules/cudaarithm/test/test_element_operations.cpp int channels; channels 2269 modules/cudaarithm/test/test_element_operations.cpp channels = GET_PARAM(3); channels 2278 modules/cudaarithm/test/test_element_operations.cpp int type = CV_MAKE_TYPE(depth, channels); channels 184 modules/cudaarithm/test/test_reductions.cpp const int cn = src.channels(); channels 221 modules/cudaarithm/test/test_reductions.cpp const int cn = src.channels(); channels 300 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); channels 327 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); channels 354 modules/cudaarithm/test/test_reductions.cpp cv::Mat val_mat(dst.size(), CV_64FC(dst.channels()), val.val); channels 830 modules/cudaarithm/test/test_reductions.cpp int channels; channels 843 modules/cudaarithm/test/test_reductions.cpp channels = GET_PARAM(3); channels 849 modules/cudaarithm/test/test_reductions.cpp type = CV_MAKE_TYPE(depth, channels); channels 858 modules/cudaarithm/test/test_reductions.cpp dst_type = CV_MAKE_TYPE(dst_depth, channels); channels 142 modules/cudabgsegm/src/mog.cpp int ch = frame.channels(); channels 145 modules/cudabgsegm/src/mog.cpp if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channels()) channels 172 modules/cudabgsegm/src/mog.cpp getBackgroundImage_gpu(backgroundImage.channels(), weight_, mean_, backgroundImage, nmixtures_, backgroundRatio_, StreamAccessor::getStream(stream)); channels 185 modules/cudabgsegm/src/mog2.cpp int ch = frame.channels(); channels 188 modules/cudabgsegm/src/mog2.cpp if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channels()) channels 200 modules/cudabgsegm/src/mog2.cpp mog2_gpu(frame, frame.channels(), fgmask, bgmodelUsedModes_, weight_, variance_, mean_, channels 216 modules/cudabgsegm/src/mog2.cpp getBackgroundImage2_gpu(backgroundImage.channels(), bgmodelUsedModes_, weight_, mean_, backgroundImage, StreamAccessor::getStream(stream)); channels 331 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 392 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 534 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 591 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 676 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 860 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 928 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( query.channels() == 1 && query.depth() < CV_64F ); channels 219 modules/cudafilters/src/filtering.cpp CV_Assert( kernel.channels() == 1 ); channels 373 modules/cudafilters/src/filtering.cpp CV_Assert( rowKernel.channels() == 1 ); channels 374 modules/cudafilters/src/filtering.cpp CV_Assert( columnKernel.channels() == 1 ); channels 555 modules/cudafilters/src/filtering.cpp CV_Assert( kernel.channels() == 1 ); channels 64 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const int channels = GET_PARAM(2); channels 71 modules/cudaimgproc/perf/perf_bilateral_filter.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 59 modules/cudaimgproc/perf/perf_blend.cpp const int channels = GET_PARAM(2); channels 61 modules/cudaimgproc/perf/perf_blend.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 77 modules/cudaimgproc/perf/perf_histogram.cpp const int channels[] = {0}; channels 81 modules/cudaimgproc/perf/perf_histogram.cpp TEST_CYCLE() cv::calcHist(&src, 1, channels, cv::Mat(), dst, 1, histSize, ranges); channels 87 modules/cudaimgproc/src/bilateral_filter.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 90 modules/cudaimgproc/src/bilateral_filter.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 88 modules/cudaimgproc/src/blend.cpp const int cn = img1.channels(); channels 92 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 108 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 124 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 140 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 156 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 172 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 185 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 198 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 211 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 224 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 237 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 250 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 263 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 276 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 289 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 302 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 315 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 328 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 341 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 354 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 367 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 380 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 396 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); channels 412 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); channels 425 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); channels 438 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); channels 451 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 464 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 2 ); channels 480 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 496 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 ); channels 512 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 528 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 4 ); channels 556 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 562 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 585 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 591 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 614 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 620 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 643 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 649 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 672 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 678 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 701 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 707 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 730 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 736 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 759 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 765 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 788 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 794 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 817 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 823 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 846 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 852 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 875 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 881 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 904 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 910 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 933 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 939 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 962 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 968 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 991 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 997 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1020 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1026 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1049 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1055 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1078 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1084 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1107 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1113 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1136 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1142 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1165 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1171 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1194 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1200 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1223 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1229 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1252 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1258 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1281 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1287 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1310 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1316 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1339 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1345 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth()](src, dst, stream); channels 1368 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1374 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1397 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1403 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1426 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1432 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1455 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1461 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1484 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1490 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1513 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1519 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1542 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1548 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1571 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1577 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1600 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1606 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1629 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1635 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1658 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1664 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1687 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1693 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1716 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1722 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1745 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1751 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1774 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1780 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 1803 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 3 || src.channels() == 4 ); channels 1809 modules/cudaimgproc/src/color.cpp funcs[dcn == 4][src.channels() == 4][src.depth() == CV_32F](src, dst, stream); channels 2133 modules/cudaimgproc/src/color.cpp CV_Assert( src.channels() == 1 ); channels 2249 modules/cudaimgproc/src/color.cpp funcs_inplace[forward][src.channels()](dst.ptr<Npp8u>(), static_cast<int>(src.step), oSizeROI); channels 2251 modules/cudaimgproc/src/color.cpp funcs[forward][src.channels()](src.ptr<Npp8u>(), static_cast<int>(src.step), dst.ptr<Npp8u>(), static_cast<int>(dst.step), oSizeROI); channels 201 modules/cudaimgproc/src/match_template.cpp matchTemplateNaive_CCORR_32F(image, templ, result, image.channels(), stream); channels 205 modules/cudaimgproc/src/match_template.cpp if (image.channels() == 1) channels 212 modules/cudaimgproc/src/match_template.cpp extractFirstChannel_32F(result_, result, image.channels(), stream); channels 249 modules/cudaimgproc/src/match_template.cpp matchTemplateNaive_CCORR_8U(image, templ, result, image.channels(), StreamAccessor::getStream(stream)); channels 294 modules/cudaimgproc/src/match_template.cpp normalize_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamAccessor::getStream(stream)); channels 320 modules/cudaimgproc/src/match_template.cpp matchTemplateNaive_SQDIFF_32F(image, templ, result, image.channels(), StreamAccessor::getStream(stream)); channels 356 modules/cudaimgproc/src/match_template.cpp matchTemplateNaive_SQDIFF_8U(image, templ, result, image.channels(), StreamAccessor::getStream(stream)); channels 367 modules/cudaimgproc/src/match_template.cpp matchTemplatePrepared_SQDIFF_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamAccessor::getStream(stream)); channels 405 modules/cudaimgproc/src/match_template.cpp matchTemplatePrepared_SQDIFF_NORMED_8U(templ.cols, templ.rows, image_sqsums_, templ_sqsum, result, image.channels(), StreamAccessor::getStream(stream)); channels 440 modules/cudaimgproc/src/match_template.cpp if (image.channels() == 1) channels 454 modules/cudaimgproc/src/match_template.cpp for (int i = 0; i < image.channels(); ++i) channels 459 modules/cudaimgproc/src/match_template.cpp switch (image.channels()) channels 522 modules/cudaimgproc/src/match_template.cpp if (image.channels() == 1) channels 543 modules/cudaimgproc/src/match_template.cpp for (int i = 0; i < image.channels(); ++i) channels 552 modules/cudaimgproc/src/match_template.cpp switch (image.channels()) channels 59 modules/cudaimgproc/test/test_blend.cpp int cn = img1.channels(); channels 606 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 613 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 614 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 615 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 628 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 635 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 636 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 637 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 678 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 679 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 680 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 681 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 697 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 698 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 699 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 700 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 741 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 748 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 749 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 750 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 763 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 770 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 771 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 772 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 813 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 814 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 815 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 816 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 832 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 833 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 834 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 835 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 885 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 892 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 893 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 894 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 910 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 917 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 918 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 919 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 966 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 973 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 974 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 975 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 991 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 998 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 999 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1000 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1050 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1051 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1052 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1053 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1072 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1073 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1074 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1075 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1128 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1129 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1130 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1131 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1150 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1151 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1152 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1153 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1204 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1211 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1212 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1213 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1229 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1236 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1237 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1238 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1285 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1292 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1293 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1294 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1310 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1317 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1318 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1319 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1369 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1370 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1371 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1372 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1391 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1392 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1393 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1394 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1447 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1448 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1449 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1450 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1469 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1470 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1471 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1472 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1528 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1529 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1530 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1531 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1547 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1548 modules/cudaimgproc/test/test_color.cpp cv::split(src, channels); channels 1549 modules/cudaimgproc/test/test_color.cpp channels[3] = cv::Mat(src.size(), depth, cv::Scalar::all(0)); channels 1550 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 4, src); channels 1579 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1586 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1587 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1588 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1601 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1608 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1609 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1610 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1658 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1665 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1666 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1667 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1715 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1722 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1723 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1724 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1774 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1876 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1883 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1884 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1885 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1933 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 1940 modules/cudaimgproc/test/test_color.cpp cv::Mat channels[4]; channels 1941 modules/cudaimgproc/test/test_color.cpp cv::split(h_dst, channels); channels 1942 modules/cudaimgproc/test/test_color.cpp cv::merge(channels, 3, h_dst); channels 1992 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 2097 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 2136 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 2174 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 2212 modules/cudaimgproc/test/test_color.cpp ASSERT_EQ(4, dst.channels()); channels 80 modules/cudaimgproc/test/test_histogram.cpp int channels[] = {0}; channels 81 modules/cudaimgproc/test/test_histogram.cpp cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); channels 124 modules/cudaimgproc/test/test_histogram.cpp const int channels[] = {0}; channels 126 modules/cudaimgproc/test/test_histogram.cpp cv::calcHist(&src, 1, channels, cv::Mat(), hist_gold, 1, histSize, ranges); channels 120 modules/cudalegacy/src/fgd.cpp const int src_cn = src.channels(); channels 171 modules/cudalegacy/src/fgd.cpp funcs[prevFrame.channels() - 1][curFrame.channels() - 1]( channels 232 modules/cudalegacy/src/fgd.cpp funcs[prevFrame.channels() - 1][curFrame.channels() - 1](prevFrame, curFrame, channels 297 modules/cudalegacy/src/fgd.cpp funcs[prevFrame.channels() - 1][curFrame.channels() - 1][out_cn - 1](prevFrame, curFrame, Ftd, Fbd, foreground, channels 456 modules/cudalegacy/src/fgd.cpp funcs[prevFrame.channels() - 1][curFrame.channels() - 1][background.channels() - 1]( channels 187 modules/cudalegacy/src/gmg.cpp CV_Assert( frame.channels() == 1 || frame.channels() == 3 || frame.channels() == 4 ); channels 214 modules/cudalegacy/src/gmg.cpp funcs[frame.depth()][frame.channels() - 1](frame, fgmask, colors_, weights_, nfeatures_, frameNum_, channels 75 modules/cudalegacy/src/graphcuts.cpp int ch = image.channels(); channels 73 modules/cudalegacy/src/image_pyramid.cpp CV_Assert( img.depth() <= CV_32F && img.channels() <= 4 ); channels 97 modules/cudalegacy/src/image_pyramid.cpp cv::cuda::device::pyramid::downsampleX2(prevLayer, pyramid_[i], img.depth(), img.channels(), StreamAccessor::getStream(stream)); channels 138 modules/cudalegacy/src/image_pyramid.cpp cv::cuda::device::pyramid::interpolateFrom1(lastLayer, outImg, outImg.depth(), outImg.channels(), StreamAccessor::getStream(stream)); channels 294 modules/cudaoptflow/src/farneback.cpp CV_Assert(frame0.channels() == 1 && frame1.channels() == 1); channels 129 modules/cudaoptflow/src/pyrlk.cpp CV_Assert( prevImg.channels() == 1 || prevImg.channels() == 3 || prevImg.channels() == 4 ); channels 158 modules/cudaoptflow/src/pyrlk.cpp int cn = prevImg.channels(); channels 6 modules/cudastereo/src/cuda/disparity_bilateral_filter.hpp void disp_bilateral_filter(PtrStepSz<T> disp, PtrStepSzb img, int channels, int iters, const float *, const float *, size_t, int radius, short edge_disc, short max_disc, cudaStream_t stream); channels 7 modules/cudastereo/src/cuda/stereocsbp.hpp int h, int w, int level, int nr_plane, int ndisp, int channels, float data_weight, float max_data_term, int min_disp, bool use_local_init_data_cost, cudaStream_t stream); channels 11 modules/cudastereo/src/cuda/stereocsbp.hpp int rows, int cols, int h, int w, int h2, int level, int nr_plane, int channels, float data_weight, float max_data_term, channels 167 modules/cudastereo/src/disparity_bilateral_filter.cpp disp_bilateral_filter<T>(dst, img, img.channels(), iters, table_color.ptr<float>(), (float *)table_space.data, table_space_step, radius, edge_disc, max_disc, StreamAccessor::getStream(stream)); channels 201 modules/cudastereo/src/stereobp.cpp comp_data_callers[msg_type_ == CV_32F][left.channels()](left, right, datas_[0], StreamAccessor::getStream(stream)); channels 247 modules/cudastereo/src/stereocsbp.cpp elem_step, rows_pyr[i], cols_pyr[i], i, nr_plane_pyr[i], ndisp_, left.channels(), data_weight_, max_data_term_, min_disp_th_, use_local_init_data_cost_, stream); channels 252 modules/cudastereo/src/stereocsbp.cpp left.rows, left.cols, rows_pyr[i], cols_pyr[i], rows_pyr[i+1], i, nr_plane_pyr[i+1], left.channels(), data_weight_, max_data_term_, min_disp_th_, stream); channels 278 modules/cudastereo/src/stereocsbp.cpp elem_step, rows_pyr[i], cols_pyr[i], i, nr_plane_pyr[i], ndisp_, left.channels(), data_weight_, max_data_term_, min_disp_th_, use_local_init_data_cost_, stream); channels 283 modules/cudastereo/src/stereocsbp.cpp left.rows, left.cols, rows_pyr[i], cols_pyr[i], rows_pyr[i+1], i, nr_plane_pyr[i+1], left.channels(), data_weight_, max_data_term_, min_disp_th_, stream); channels 106 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 111 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 157 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 161 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 200 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 204 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 244 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 248 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 294 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 298 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 341 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 344 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 374 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 376 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 410 modules/cudawarping/perf/perf_warping.cpp const int channels = GET_PARAM(2); channels 412 modules/cudawarping/perf/perf_warping.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 83 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 85 modules/cudawarping/src/pyramids.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 123 modules/cudawarping/src/pyramids.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 125 modules/cudawarping/src/pyramids.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 81 modules/cudawarping/src/remap.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 86 modules/cudawarping/src/remap.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 72 modules/cudawarping/src/resize.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 95 modules/cudawarping/src/resize.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 192 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 243 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; channels 277 modules/cudawarping/src/warp.cpp const func_t func = funcs[(flags & WARP_INVERSE_MAP) != 0][src.depth()][src.channels() - 1]; channels 299 modules/cudawarping/src/warp.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 331 modules/cudawarping/src/warp.cpp CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); channels 382 modules/cudawarping/src/warp.cpp bool useNpp = borderMode == BORDER_CONSTANT && ofs.x == 0 && ofs.y == 0 && useNppTab[src.depth()][src.channels() - 1][interpolation]; channels 416 modules/cudawarping/src/warp.cpp const func_t func = funcs[(flags & WARP_INVERSE_MAP) != 0][src.depth()][src.channels() - 1]; channels 438 modules/cudawarping/src/warp.cpp const func_t func = funcs[src.depth()][src.channels() - 1]; channels 523 modules/cudawarping/src/warp.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); channels 531 modules/cudawarping/src/warp.cpp funcs[src.depth()][src.channels() - 1](src, dst, dsize, angle, xShift, yShift, interpolation, StreamAccessor::getStream(stream)); channels 52 modules/cudawarping/test/interpolation.hpp return (y >= 0 && y < src.rows && x >= 0 && x < src.cols) ? src.at<T>(y, x * src.channels() + c) : cv::saturate_cast<T>(borderVal.val[c]); channels 54 modules/cudawarping/test/interpolation.hpp return src.at<T>(cv::borderInterpolate(y, src.rows, border_type), cv::borderInterpolate(x, src.cols, border_type) * src.channels() + c); channels 56 modules/cudawarping/test/test_remap.cpp const int cn = src.channels(); channels 57 modules/cudawarping/test/test_resize.cpp const int cn = src.channels(); channels 116 modules/cudawarping/test/test_warp_affine.cpp const int cn = src.channels(); channels 117 modules/cudawarping/test/test_warp_perspective.cpp const int cn = src.channels(); channels 104 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp GpuMat::operator =(m.reshape(DataType<T>::channels, m.rows)); channels 108 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_Assert( DataType<T>::channels == m.channels() ); channels 265 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_DbgAssert( GpuMat::elemSize1() == sizeof(T) / DataType<T>::channels ); channels 266 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return sizeof(T) / DataType<T>::channels; channels 286 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp CV_DbgAssert( GpuMat::channels() == DataType<T>::channels ); channels 287 modules/cudev/include/opencv2/cudev/ptr2d/detail/gpumat.hpp return DataType<T>::channels; channels 130 modules/cudev/include/opencv2/cudev/ptr2d/gpumat.hpp __host__ int channels() const; channels 74 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp int channels; channels 78 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp return mask(y, x / channels); channels 90 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp singleMaskChannels(const MaskPtr& mask, int channels) channels 94 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp ptr.channels = channels; channels 96 modules/cudev/include/opencv2/cudev/ptr2d/mask.hpp ptr.cols = getCols(mask) * channels; channels 202 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) channels 217 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), \ channels 218 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) \ channels 270 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 271 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) channels 286 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 287 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) channels 302 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 303 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) channels 318 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), channels 319 modules/cudev/include/opencv2/cudev/util/vec_traits.hpp type = CV_MAKE_TYPE(depth, channels) channels 309 modules/features2d/src/blobdetector.cpp if (image.channels() == 3) channels 63 modules/features2d/test/test_descriptors_regression.cpp int dataSize = (int)(mat.step * mat.rows * mat.channels()); channels 1021 modules/highgui/src/window_w32.cpp static bool icvGetBitmapData( CvWindow* window, SIZE* size, int* channels, void** data ) channels 1042 modules/highgui/src/window_w32.cpp if( channels ) channels 1043 modules/highgui/src/window_w32.cpp *channels = bmp.bmBitsPixel/8; channels 1094 modules/highgui/src/window_w32.cpp int channels = 0; channels 1129 modules/highgui/src/window_w32.cpp if (icvGetBitmapData( window, &size, &channels, &dst_ptr )) channels 1132 modules/highgui/src/window_w32.cpp if( size.cx != image->width || size.cy != image->height || channels != channels0 ) channels 1144 modules/highgui/src/window_w32.cpp channels = channels0; channels 1146 modules/highgui/src/window_w32.cpp FillBitmapInfo( binfo, size.cx, size.cy, channels*8, 1 ); channels 1153 modules/highgui/src/window_w32.cpp dst_ptr, (size.cx * channels + 3) & -4 ); channels 1175 modules/highgui/src/window_w32.cpp int channels = 0; channels 1208 modules/highgui/src/window_w32.cpp channels = bmp.bmBitsPixel/8; channels 1212 modules/highgui/src/window_w32.cpp if( size.cx != image->width || size.cy != image->height || channels != channels0 ) channels 1224 modules/highgui/src/window_w32.cpp channels = channels0; channels 1226 modules/highgui/src/window_w32.cpp FillBitmapInfo( binfo, size.cx, size.cy, channels*8, 1 ); channels 1231 modules/highgui/src/window_w32.cpp cvInitMatHeader( &dst, size.cy, size.cx, CV_8UC3, dst_ptr, (size.cx * channels + 3) & -4 ); channels 1859 modules/highgui/src/window_w32.cpp int channels; channels 1861 modules/highgui/src/window_w32.cpp if (icvGetBitmapData(window, &sz, &channels, &data)) channels 1895 modules/highgui/src/window_w32.cpp cv::Mat tmp; cv::flip(cv::Mat(sz.cy, sz.cx, CV_8UC(channels), data), tmp, 0); channels 42 modules/imgcodecs/misc/java/test/HighguiTest.java assertEquals(3, dst.channels()); channels 50 modules/imgcodecs/misc/java/test/HighguiTest.java assertEquals(1, dst.channels()); channels 188 modules/imgcodecs/src/grfmt_bmp.cpp bool color = img.channels() > 1; channels 504 modules/imgcodecs/src/grfmt_bmp.cpp int width = img.cols, height = img.rows, channels = img.channels(); channels 505 modules/imgcodecs/src/grfmt_bmp.cpp int fileStep = (width*channels + 3) & -4; channels 518 modules/imgcodecs/src/grfmt_bmp.cpp int paletteSize = channels > 1 ? 0 : 1024; channels 539 modules/imgcodecs/src/grfmt_bmp.cpp strm.putWord( channels << 3 ); channels 547 modules/imgcodecs/src/grfmt_bmp.cpp if( channels == 1 ) channels 553 modules/imgcodecs/src/grfmt_bmp.cpp width *= channels; channels 129 modules/imgcodecs/src/grfmt_exr.cpp const ChannelList &channels = m_file->header().channels(); channels 130 modules/imgcodecs/src/grfmt_exr.cpp m_red = channels.findChannel( "R" ); channels 131 modules/imgcodecs/src/grfmt_exr.cpp m_green = channels.findChannel( "G" ); channels 132 modules/imgcodecs/src/grfmt_exr.cpp m_blue = channels.findChannel( "B" ); channels 141 modules/imgcodecs/src/grfmt_exr.cpp m_green = channels.findChannel( "Y" ); channels 145 modules/imgcodecs/src/grfmt_exr.cpp m_red = channels.findChannel( "RY" ); channels 146 modules/imgcodecs/src/grfmt_exr.cpp m_blue = channels.findChannel( "BY" ); channels 188 modules/imgcodecs/src/grfmt_exr.cpp bool color = img.channels() > 1; channels 581 modules/imgcodecs/src/grfmt_exr.cpp int depth = img.depth(), channels = img.channels(); channels 598 modules/imgcodecs/src/grfmt_exr.cpp if( channels == 3 ) channels 600 modules/imgcodecs/src/grfmt_exr.cpp header.channels().insert( "R", Channel( type )); channels 601 modules/imgcodecs/src/grfmt_exr.cpp header.channels().insert( "G", Channel( type )); channels 602 modules/imgcodecs/src/grfmt_exr.cpp header.channels().insert( "B", Channel( type )); channels 607 modules/imgcodecs/src/grfmt_exr.cpp header.channels().insert( "Y", Channel( type )); channels 626 modules/imgcodecs/src/grfmt_exr.cpp buffer = (char *)new unsigned[width * channels]; channels 632 modules/imgcodecs/src/grfmt_exr.cpp buffer = (char *)new half[width * channels]; channels 639 modules/imgcodecs/src/grfmt_exr.cpp if( channels == 3 ) channels 677 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) channels 683 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) channels 689 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) channels 700 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) channels 706 modules/imgcodecs/src/grfmt_exr.cpp for(int i = 0; i < width * channels; i++) channels 101 modules/imgcodecs/src/grfmt_gdal.cpp int gdal2opencv( const GDALDataType& gdalType, const int& channels ){ channels 107 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 1 ){ return CV_8UC1; } channels 108 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 3 ){ return CV_8UC3; } channels 109 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 4 ){ return CV_8UC4; } channels 114 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 1 ){ return CV_16UC1; } channels 115 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 3 ){ return CV_16UC3; } channels 116 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 4 ){ return CV_16UC4; } channels 121 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 1 ){ return CV_16SC1; } channels 122 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 3 ){ return CV_16SC3; } channels 123 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 4 ){ return CV_16SC4; } channels 129 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 1 ){ return CV_32SC1; } channels 130 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 3 ){ return CV_32SC3; } channels 131 modules/imgcodecs/src/grfmt_gdal.cpp if( channels == 4 ){ return CV_32SC4; } channels 227 modules/imgcodecs/src/grfmt_gdal.cpp if( gdalChannels == 1 && image.channels() == 1 ){ channels 238 modules/imgcodecs/src/grfmt_gdal.cpp else if( gdalChannels == 1 && image.channels() == 3 ){ channels 249 modules/imgcodecs/src/grfmt_gdal.cpp else if( gdalChannels == 3 && image.channels() == 1 ){ channels 255 modules/imgcodecs/src/grfmt_gdal.cpp else if( gdalChannels == 4 && image.channels() == 1 ){ channels 261 modules/imgcodecs/src/grfmt_gdal.cpp else if( gdalChannels == 3 && image.channels() == 3 ){ channels 272 modules/imgcodecs/src/grfmt_gdal.cpp else if( gdalChannels == 4 && image.channels() == 3 ){ channels 284 modules/imgcodecs/src/grfmt_gdal.cpp else if( gdalChannels == 4 && image.channels() == 4 ){ channels 326 modules/imgcodecs/src/grfmt_gdal.cpp if( image.channels() > 3 ){ channels 373 modules/imgcodecs/src/grfmt_gdal.cpp if( nChannels > img.channels() ){ channels 374 modules/imgcodecs/src/grfmt_gdal.cpp nChannels = img.channels(); channels 79 modules/imgcodecs/src/grfmt_gdal.hpp int gdal2opencv( const GDALDataType& gdalType, const int& channels ); channels 128 modules/imgcodecs/src/grfmt_hdr.cpp CV_Assert(input_img.channels() == 3 || input_img.channels() == 1); channels 129 modules/imgcodecs/src/grfmt_hdr.cpp if(input_img.channels() == 1) { channels 396 modules/imgcodecs/src/grfmt_jpeg.cpp bool color = img.channels() > 1; channels 595 modules/imgcodecs/src/grfmt_jpeg.cpp int _channels = img.channels(); channels 596 modules/imgcodecs/src/grfmt_jpeg.cpp int channels = _channels > 1 ? 3 : 1; channels 597 modules/imgcodecs/src/grfmt_jpeg.cpp cinfo.input_components = channels; channels 598 modules/imgcodecs/src/grfmt_jpeg.cpp cinfo.in_color_space = channels > 1 ? JCS_RGB : JCS_GRAYSCALE; channels 684 modules/imgcodecs/src/grfmt_jpeg.cpp if( channels > 1 ) channels 685 modules/imgcodecs/src/grfmt_jpeg.cpp _buffer.allocate(width*channels); channels 157 modules/imgcodecs/src/grfmt_jpeg2000.cpp int color = img.channels() > 1; channels 441 modules/imgcodecs/src/grfmt_jpeg2000.cpp int depth = _img.depth(), channels = _img.channels(); channels 444 modules/imgcodecs/src/grfmt_jpeg2000.cpp if( channels > 3 || channels < 1 ) channels 448 modules/imgcodecs/src/grfmt_jpeg2000.cpp for( int i = 0; i < channels; i++ ) channels 459 modules/imgcodecs/src/grfmt_jpeg2000.cpp jas_image_t *img = jas_image_create( channels, component_info, (channels == 1) ? JAS_CLRSPC_SGRAY : JAS_CLRSPC_SRGB ); channels 463 modules/imgcodecs/src/grfmt_jpeg2000.cpp if(channels == 1) channels 497 modules/imgcodecs/src/grfmt_jpeg2000.cpp int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); channels 521 modules/imgcodecs/src/grfmt_jpeg2000.cpp int w = _img.cols, h = _img.rows, ncmpts = _img.channels(); channels 230 modules/imgcodecs/src/grfmt_png.cpp int color = img.channels() > 1; channels 249 modules/imgcodecs/src/grfmt_png.cpp if(img.channels() < 4) channels 347 modules/imgcodecs/src/grfmt_png.cpp int depth = img.depth(), channels = img.channels(); channels 412 modules/imgcodecs/src/grfmt_png.cpp channels == 1 ? PNG_COLOR_TYPE_GRAY : channels 413 modules/imgcodecs/src/grfmt_png.cpp channels == 3 ? PNG_COLOR_TYPE_RGB : PNG_COLOR_TYPE_RGBA, channels 191 modules/imgcodecs/src/grfmt_pxm.cpp int color = img.channels() > 1; channels 375 modules/imgcodecs/src/grfmt_pxm.cpp int _channels = img.channels(), depth = (int)img.elemSize1()*8; channels 376 modules/imgcodecs/src/grfmt_pxm.cpp int channels = _channels > 1 ? 3 : 1; channels 390 modules/imgcodecs/src/grfmt_pxm.cpp int t = CV_MAKETYPE(img.depth(), channels); channels 404 modules/imgcodecs/src/grfmt_pxm.cpp lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32; channels 414 modules/imgcodecs/src/grfmt_pxm.cpp '2' + (channels > 1 ? 1 : 0) + (isBinary ? 3 : 0), channels 439 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width*channels*2; x += 2 ) channels 446 modules/imgcodecs/src/grfmt_pxm.cpp strm.putBytes( (channels > 1 || depth > 8) ? buffer : (const char*)data, fileStep ); channels 452 modules/imgcodecs/src/grfmt_pxm.cpp if( channels > 1 ) channels 456 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width*channels; x += channels ) channels 470 modules/imgcodecs/src/grfmt_pxm.cpp for( x = 0; x < width*channels; x += channels ) channels 157 modules/imgcodecs/src/grfmt_sunras.cpp int color = img.channels() > 1; channels 401 modules/imgcodecs/src/grfmt_sunras.cpp int y, width = img.cols, height = img.rows, channels = img.channels(); channels 402 modules/imgcodecs/src/grfmt_sunras.cpp int fileStep = (width*channels + 1) & -2; channels 410 modules/imgcodecs/src/grfmt_sunras.cpp strm.putDWord( channels*8 ); channels 108 modules/imgcodecs/src/grfmt_tiff.cpp int TiffDecoder::normalizeChannelsNumber(int channels) const channels 110 modules/imgcodecs/src/grfmt_tiff.cpp return channels > 4 ? 4 : channels; channels 204 modules/imgcodecs/src/grfmt_tiff.cpp bool color = img.channels() > 1; channels 223 modules/imgcodecs/src/grfmt_tiff.cpp int wanted_channels = normalizeChannelsNumber(img.channels()); channels 519 modules/imgcodecs/src/grfmt_tiff.cpp int channels = img.channels(); channels 543 modules/imgcodecs/src/grfmt_tiff.cpp size_t fileStep = (width * channels * bitsPerChannel) / bitsPerByte; channels 570 modules/imgcodecs/src/grfmt_tiff.cpp int colorspace = channels > 1 ? PHOTOMETRIC_RGB : PHOTOMETRIC_MINISBLACK; channels 577 modules/imgcodecs/src/grfmt_tiff.cpp || !TIFFSetField(pTiffHandle, TIFFTAG_SAMPLESPERPIXEL, channels) channels 604 modules/imgcodecs/src/grfmt_tiff.cpp switch(channels) channels 684 modules/imgcodecs/src/grfmt_tiff.cpp int channels = img.channels(); channels 698 modules/imgcodecs/src/grfmt_tiff.cpp int fileStep = width * channels * bytesPerChannel; channels 760 modules/imgcodecs/src/grfmt_tiff.cpp if( channels == 3 ) channels 769 modules/imgcodecs/src/grfmt_tiff.cpp if( channels == 4 ) channels 778 modules/imgcodecs/src/grfmt_tiff.cpp strm.putBytes( channels > 1 ? buffer : img.ptr(y), fileStep ); channels 812 modules/imgcodecs/src/grfmt_tiff.cpp if( channels > 1 ) channels 818 modules/imgcodecs/src/grfmt_tiff.cpp if( channels == 4 ) channels 835 modules/imgcodecs/src/grfmt_tiff.cpp TIFF_TYPE_SHORT, channels, bitsPerSample ); channels 837 modules/imgcodecs/src/grfmt_tiff.cpp writeTag( strm, TIFF_TAG_PHOTOMETRIC, TIFF_TYPE_SHORT, 1, channels > 1 ? 2 : 1 ); channels 842 modules/imgcodecs/src/grfmt_tiff.cpp writeTag( strm, TIFF_TAG_SAMPLES_PER_PIXEL, TIFF_TYPE_SHORT, 1, channels ); channels 111 modules/imgcodecs/src/grfmt_tiff.hpp int normalizeChannelsNumber(int channels) const; channels 147 modules/imgcodecs/src/grfmt_webp.cpp channels = 4; channels 152 modules/imgcodecs/src/grfmt_webp.cpp channels = 3; channels 174 modules/imgcodecs/src/grfmt_webp.cpp if (channels == 3) channels 179 modules/imgcodecs/src/grfmt_webp.cpp else if (channels == 4) channels 209 modules/imgcodecs/src/grfmt_webp.cpp int channels = img.channels(), depth = img.depth(); channels 243 modules/imgcodecs/src/grfmt_webp.cpp if(channels == 1) channels 247 modules/imgcodecs/src/grfmt_webp.cpp channels = 3; channels 249 modules/imgcodecs/src/grfmt_webp.cpp else if (channels == 2) channels 256 modules/imgcodecs/src/grfmt_webp.cpp if(channels == 3) channels 260 modules/imgcodecs/src/grfmt_webp.cpp else if(channels == 4) channels 267 modules/imgcodecs/src/grfmt_webp.cpp if(channels == 3) channels 271 modules/imgcodecs/src/grfmt_webp.cpp else if(channels == 4) channels 73 modules/imgcodecs/src/grfmt_webp.hpp int channels; channels 435 modules/imgcodecs/src/loadsave.cpp CV_Assert( image.channels() == 1 || image.channels() == 3 || image.channels() == 4 ); channels 573 modules/imgcodecs/src/loadsave.cpp int channels = image.channels(); channels 574 modules/imgcodecs/src/loadsave.cpp CV_Assert( channels == 1 || channels == 3 || channels == 4 ); channels 53 modules/imgcodecs/test/test_grfmt.cpp if (lhs.channels() != rhs.channels() || channels 63 modules/imgcodecs/test/test_grfmt.cpp for (int i = 0; i < s.channels; ++i) channels 205 modules/imgcodecs/test/test_grfmt.cpp CV_Assert(num_channels == img_test.channels()); channels 264 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "img : %d ; %d \n", img.channels(), img.depth()); channels 265 modules/imgcodecs/test/test_grfmt.cpp ts->printf(ts->LOG, "img_test : %d ; %d \n", img_test.channels(), img_test.depth()); channels 384 modules/imgcodecs/test/test_grfmt.cpp ASSERT_TRUE(img.channels() == 4); channels 404 modules/imgcodecs/test/test_grfmt.cpp ASSERT_TRUE(img.channels() == 3); channels 422 modules/imgcodecs/test/test_grfmt.cpp ASSERT_TRUE(img.channels() == 3); channels 440 modules/imgcodecs/test/test_grfmt.cpp ASSERT_TRUE(img.channels() == 3); channels 629 modules/imgcodecs/test/test_grfmt.cpp EXPECT_EQ(1, img.channels()); channels 653 modules/imgcodecs/test/test_grfmt.cpp ASSERT_TRUE(img.channels() == 3); channels 819 modules/imgcodecs/test/test_grfmt.cpp EXPECT_EQ(3, img_webp.channels()); channels 844 modules/imgcodecs/test/test_grfmt.cpp EXPECT_EQ(4, img_webp.channels()); channels 2800 modules/imgproc/include/opencv2/imgproc.hpp const int* channels, InputArray mask, channels 2809 modules/imgproc/include/opencv2/imgproc.hpp const int* channels, InputArray mask, channels 2816 modules/imgproc/include/opencv2/imgproc.hpp const std::vector<int>& channels, channels 2862 modules/imgproc/include/opencv2/imgproc.hpp const int* channels, InputArray hist, channels 2868 modules/imgproc/include/opencv2/imgproc.hpp const int* channels, const SparseMat& hist, channels 2873 modules/imgproc/include/opencv2/imgproc.hpp CV_EXPORTS_W void calcBackProject( InputArrayOfArrays images, const std::vector<int>& channels, channels 238 modules/imgproc/misc/java/test/ImgprocTest.java MatOfInt channels = new MatOfInt(0); channels 243 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges); channels 246 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcBackProject(images, channels, hist, dst, ranges, 255); channels 255 modules/imgproc/misc/java/test/ImgprocTest.java MatOfInt channels = new MatOfInt(0); channels 260 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges); channels 272 modules/imgproc/misc/java/test/ImgprocTest.java MatOfInt channels = new MatOfInt(0, 1); channels 277 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges); channels 296 modules/imgproc/misc/java/test/ImgprocTest.java for(int i=0; i<rgbLena.channels(); i++) channels 327 modules/imgproc/misc/java/test/ImgprocTest.java MatOfInt channels = new MatOfInt(0, 1); channels 332 modules/imgproc/misc/java/test/ImgprocTest.java Imgproc.calcHist(images, channels, new Mat(), hist, histSize, ranges, true); channels 82 modules/imgproc/perf/opencl/perf_imgproc.cpp const std::vector<int> channels(1, 0); channels 93 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); channels 106 modules/imgproc/perf/opencl/perf_imgproc.cpp const std::vector<int> channels(1, 0); channels 117 modules/imgproc/perf/opencl/perf_imgproc.cpp cv::calcHist(std::vector<UMat>(1, src), channels, noArray(), hist, histSize, ranges, false); channels 120 modules/imgproc/perf/opencl/perf_imgproc.cpp OCL_TEST_CYCLE() cv::calcBackProject(std::vector<UMat>(1,src), channels, hist, dst, ranges, 1); channels 26 modules/imgproc/perf/perf_histogram.cpp int channels [] = {0}; channels 40 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); channels 55 modules/imgproc/perf/perf_histogram.cpp int channels [] = {0, 1}; channels 68 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); channels 82 modules/imgproc/perf/perf_histogram.cpp int channels [] = {0, 1, 2}; channels 96 modules/imgproc/perf/perf_histogram.cpp calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); channels 64 modules/imgproc/src/blend.cpp int cn = src1->channels(), width = src1->cols * cn; channels 6444 modules/imgproc/src/color.cpp const int cn = src_.channels(); channels 6683 modules/imgproc/src/color.cpp int scn = src.channels(), depth = src.depth(), bidx, uidx, yidx; channels 8631 modules/imgproc/src/color.cpp cv::cvtColor(src, dst, code, dst.channels()); channels 341 modules/imgproc/src/connectedcomponents.cpp CV_Assert(L.channels() == 1 && I.channels() == 1); channels 1712 modules/imgproc/src/contours.cpp CV_Assert(_contours.empty() || (_contours.channels() == 2 && _contours.depth() == CV_32S)); channels 777 modules/imgproc/src/corner.cpp CV_Assert( src.rows == dst.rows && src.cols*6 == dst.cols*dst.channels() && dst.depth() == CV_32F ); channels 64 modules/imgproc/src/cornersubpix.cpp CV_Assert( src.channels() == 1 ); channels 677 modules/imgproc/src/demosaicing.cpp int dcn = dstmat.channels(); channels 885 modules/imgproc/src/demosaicing.cpp int dcn = dstmat.channels(); channels 1481 modules/imgproc/src/demosaicing.cpp int dcn = dst.channels(); channels 1592 modules/imgproc/src/demosaicing.cpp size.width *= dst.channels(); channels 1620 modules/imgproc/src/demosaicing.cpp int scn = src.channels(), depth = src.depth(); channels 325 modules/imgproc/src/deriv.cpp dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); channels 382 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); channels 397 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); channels 417 modules/imgproc/src/deriv.cpp if (1 != _src.channels()) channels 497 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); channels 511 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); channels 527 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); channels 543 modules/imgproc/src/deriv.cpp ippiMulC_32f_C1R(dst.ptr<Ipp32f>(), (int)dst.step, (Ipp32f)scale, dst.ptr<Ipp32f>(), (int)dst.step, ippiSize(dst.cols*dst.channels(), dst.rows)); channels 949 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); channels 962 modules/imgproc/src/deriv.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); channels 295 modules/imgproc/src/drawing.cpp int nch = img.channels(); channels 2188 modules/imgproc/src/drawing.cpp fillConvexPoly(img, points.ptr<Point>(), points.rows*points.cols*points.channels()/2, color, lineType, shift); channels 2209 modules/imgproc/src/drawing.cpp npts[i] = p.rows*p.cols*p.channels()/2; channels 2240 modules/imgproc/src/drawing.cpp npts[i] = p.rows*p.cols*p.channels()/2; channels 428 modules/imgproc/src/filter.cpp CV_Assert( _kernel.channels() == 1 ); channels 4578 modules/imgproc/src/filter.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); channels 4663 modules/imgproc/src/filter.cpp if( src.channels() != 1 && delta != 0 ) channels 4678 modules/imgproc/src/filter.cpp temp.create( dst.size(), CV_MAKETYPE(corrDepth, dst.channels()) ); channels 4681 modules/imgproc/src/filter.cpp CV_MAKETYPE(corrDepth, src.channels()), channels 4696 modules/imgproc/src/filter.cpp CV_MAKETYPE(ddepth, src.channels()), channels 4722 modules/imgproc/src/filter.cpp _dst.create( src.size(), CV_MAKETYPE(ddepth, src.channels()) ); channels 4737 modules/imgproc/src/filter.cpp CV_Assert( src.size() == dst.size() && src.channels() == dst.channels() ); channels 485 modules/imgproc/src/floodfill.cpp int cn = img.channels(); channels 533 modules/imgproc/src/geometry.cpp Mat temp(p.size(), CV_MAKETYPE(CV_32F, p.channels()), dst); channels 115 modules/imgproc/src/histogram.cpp static void histPrepareImages( const Mat* images, int nimages, const int* channels, channels 122 modules/imgproc/src/histogram.cpp CV_Assert( channels != 0 || nimages == dims ); channels 133 modules/imgproc/src/histogram.cpp if(!channels) channels 137 modules/imgproc/src/histogram.cpp CV_Assert( images[j].channels() == 1 ); channels 141 modules/imgproc/src/histogram.cpp c = channels[i]; channels 143 modules/imgproc/src/histogram.cpp for( j = 0; j < nimages; c -= images[j].channels(), j++ ) channels 144 modules/imgproc/src/histogram.cpp if( c < images[j].channels() ) channels 153 modules/imgproc/src/histogram.cpp deltas[i*2] = images[j].channels(); channels 159 modules/imgproc/src/histogram.cpp CV_Assert( mask.size() == imsize && mask.channels() == 1 ); channels 1223 modules/imgproc/src/histogram.cpp void cv::calcHist( const Mat* images, int nimages, const int* channels, channels 1239 modules/imgproc/src/histogram.cpp if (nimages == 1 && images[0].type() == CV_8UC1 && dims == 1 && channels && channels 1240 modules/imgproc/src/histogram.cpp channels[0] == 0 && mask.empty() && images[0].dims <= 2 && channels 1278 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.size, ranges, channels 1427 modules/imgproc/src/histogram.cpp static void calcHist( const Mat* images, int nimages, const int* channels, channels 1451 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, mask, dims, hist.hdr->size, ranges, channels 1537 modules/imgproc/src/histogram.cpp void cv::calcHist( const Mat* images, int nimages, const int* channels, channels 1542 modules/imgproc/src/histogram.cpp calcHist( images, nimages, channels, mask, hist, dims, histSize, channels 1547 modules/imgproc/src/histogram.cpp void cv::calcHist( InputArrayOfArrays images, const std::vector<int>& channels, channels 1553 modules/imgproc/src/histogram.cpp CV_OCL_RUN(images.total() == 1 && channels.size() == 1 && images.channels(0) == 1 && channels 1554 modules/imgproc/src/histogram.cpp channels[0] == 0 && images.isUMatVector() && mask.empty() && !accumulate && channels 1559 modules/imgproc/src/histogram.cpp int i, dims = (int)histSize.size(), rsz = (int)ranges.size(), csz = (int)channels.size(); channels 1576 modules/imgproc/src/histogram.cpp calcHist(&buf[0], nimages, csz ? &channels[0] : 0, channels 1876 modules/imgproc/src/histogram.cpp void cv::calcBackProject( const Mat* images, int nimages, const int* channels, channels 1890 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, backProject, dims, hist.size, ranges, channels 2039 modules/imgproc/src/histogram.cpp void cv::calcBackProject( const Mat* images, int nimages, const int* channels, channels 2052 modules/imgproc/src/histogram.cpp histPrepareImages( images, nimages, channels, backProject, channels 2080 modules/imgproc/src/histogram.cpp int ccn = um[i].channels(); channels 2100 modules/imgproc/src/histogram.cpp static bool ocl_calcBackProject( InputArrayOfArrays _images, std::vector<int> channels, channels 2108 modules/imgproc/src/histogram.cpp size_t nimages = images.size(), totalcn = images[0].channels(); channels 2121 modules/imgproc/src/histogram.cpp totalcn += m.channels(); channels 2125 modules/imgproc/src/histogram.cpp std::sort(channels.begin(), channels.end()); channels 2127 modules/imgproc/src/histogram.cpp CV_Assert(channels[i] < (int)totalcn); channels 2132 modules/imgproc/src/histogram.cpp getUMatIndex(images, channels[0], idx, cnidx); channels 2136 modules/imgproc/src/histogram.cpp String opts = format("-D histdims=1 -D scn=%d", im.channels()); channels 2166 modules/imgproc/src/histogram.cpp getUMatIndex(images, channels[0], idx0, cnidx0); channels 2167 modules/imgproc/src/histogram.cpp getUMatIndex(images, channels[1], idx1, cnidx1); channels 2172 modules/imgproc/src/histogram.cpp String opts = format("-D histdims=2 -D scn1=%d -D scn2=%d", im0.channels(), im1.channels()); channels 2217 modules/imgproc/src/histogram.cpp void cv::calcBackProject( InputArrayOfArrays images, const std::vector<int>& channels, channels 2229 modules/imgproc/src/histogram.cpp histdims <= 2 && ranges.size() == histdims * 2 && histdims == channels.size(), channels 2230 modules/imgproc/src/histogram.cpp ocl_calcBackProject(images, channels, hist, dst, ranges, (float)scale, histdims)) channels 2233 modules/imgproc/src/histogram.cpp int hcn = H0.channels(); channels 2247 modules/imgproc/src/histogram.cpp int i, dims = H.dims, rsz = (int)ranges.size(), csz = (int)channels.size(); channels 2265 modules/imgproc/src/histogram.cpp calcBackProject(&buf[0], nimages, csz ? &channels[0] : 0, channels 2295 modules/imgproc/src/histogram.cpp len = it.planes[0].rows*it.planes[0].cols*H1.channels(); channels 70 modules/imgproc/src/imgwarp.cpp template <int channels, typename Type> channels 73 modules/imgproc/src/imgwarp.cpp Type values[channels]; channels 74 modules/imgproc/src/imgwarp.cpp for( int i = 0; i < channels; i++ ) channels 79 modules/imgproc/src/imgwarp.cpp static bool IPPSet(const cv::Scalar &value, void *dataPointer, int step, IppiSize &size, int channels, int depth) channels 81 modules/imgproc/src/imgwarp.cpp if( channels == 1 ) channels 95 modules/imgproc/src/imgwarp.cpp if( channels == 3 ) channels 107 modules/imgproc/src/imgwarp.cpp else if( channels == 4 ) channels 1708 modules/imgproc/src/imgwarp.cpp int dy, cn = src.channels(); channels 1779 modules/imgproc/src/imgwarp.cpp int cn = src.channels(); channels 2422 modules/imgproc/src/imgwarp.cpp int cn = src.channels(); channels 2430 modules/imgproc/src/imgwarp.cpp VecOp vop(scale_x, scale_y, src.channels(), (int)src.step/*, area_ofs*/); channels 2532 modules/imgproc/src/imgwarp.cpp int cn = dst->channels(); channels 2798 modules/imgproc/src/imgwarp.cpp int cn = src.channels(); channels 3489 modules/imgproc/src/imgwarp.cpp int cn = _src.channels(); channels 3600 modules/imgproc/src/imgwarp.cpp int cn = _src.channels(), x = 0, sstep = (int)_src.step; channels 3808 modules/imgproc/src/imgwarp.cpp int k, cn = _src.channels(); channels 4020 modules/imgproc/src/imgwarp.cpp int cn = _src.channels(); channels 4125 modules/imgproc/src/imgwarp.cpp int cn = _src.channels(); channels 4491 modules/imgproc/src/imgwarp.cpp int cn = _src.channels(), type = _src.type(), depth = _src.depth(), channels 4756 modules/imgproc/src/imgwarp.cpp planar_input = map1.channels() == 1; channels 5422 modules/imgproc/src/imgwarp.cpp int cnn = src.channels(); channels 6051 modules/imgproc/src/imgwarp.cpp int cnn = src.channels(); channels 416 modules/imgproc/src/lsd.cpp CV_Assert(!img.empty() && img.channels() == 1); channels 1157 modules/imgproc/src/lsd.cpp CV_Assert(!_image.empty() && (_image.channels() == 1 || _image.channels() == 3)); channels 1160 modules/imgproc/src/lsd.cpp if (_image.channels() == 1) channels 1164 modules/imgproc/src/lsd.cpp else if (_image.channels() == 3) channels 1229 modules/imgproc/src/lsd.cpp CV_Assert(_image.channels() == 3); channels 1686 modules/imgproc/src/morph.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2 && _src.channels() <= 4 && channels 1835 modules/imgproc/src/morph.cpp CV_OCL_RUN(_dst.isUMat() && _src.dims() <= 2 && _src.channels() <= 4 && channels 44 modules/imgproc/src/phasecorr.cpp int depth = src.depth(), cn = src.channels(), type = src.type(); channels 160 modules/imgproc/src/phasecorr.cpp int depth = srcA.depth(), cn = srcA.channels(), type = srcA.type(); channels 858 modules/imgproc/src/pyramids.cpp int cn = _src.channels(); channels 982 modules/imgproc/src/pyramids.cpp int cn = _src.channels(); channels 1117 modules/imgproc/src/pyramids.cpp int type = _src.type(), depth = CV_MAT_DEPTH(type), channels = CV_MAT_CN(type); channels 1119 modules/imgproc/src/pyramids.cpp if (channels > 4 || borderType != BORDER_DEFAULT) channels 1141 modules/imgproc/src/pyramids.cpp ocl::typeToStr(type), ocl::typeToStr(CV_MAKETYPE(float_depth, channels)), channels 1142 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(float_depth, depth, channels, cvt[0]), channels 1143 modules/imgproc/src/pyramids.cpp ocl::convertTypeStr(depth, float_depth, channels, cvt[1]), channels 1145 modules/imgproc/src/pyramids.cpp ocl::typeToStr(depth), channels, local_size channels 1150 modules/imgproc/src/pyramids.cpp if (ocl::Device::getDefault().isIntel() && channels == 1) channels 1209 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrDownGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); channels 1286 modules/imgproc/src/pyramids.cpp IppStatus ok = ippiPyrUpGetBufSize_Gauss5x5(srcRoi.width, dataType, src.channels(), &bufferSize); channels 369 modules/imgproc/src/samplers.cpp int depth = image.depth(), cn = image.channels(); channels 427 modules/imgproc/src/samplers.cpp CV_Assert( src.channels() == dst.channels() ); channels 439 modules/imgproc/src/samplers.cpp CV_Assert( src.channels() == dst.channels() ); channels 453 modules/imgproc/src/samplers.cpp matrix, src.channels()); channels 605 modules/imgproc/src/shapedescr.cpp CV_Assert( img.depth() <= CV_8S && img.channels() == 1 ); channels 1833 modules/imgproc/src/smooth.cpp int cn = _dst.channels(), m = _dst.rows, r = (ksize-1)/2; channels 2037 modules/imgproc/src/smooth.cpp int cn = _src.channels(); channels 2381 modules/imgproc/src/smooth.cpp int i, j, k, cn = _src.channels(); channels 2736 modules/imgproc/src/smooth.cpp int cn = src0.channels(); channels 2768 modules/imgproc/src/smooth.cpp int i, j, cn = dest->channels(), k; channels 3062 modules/imgproc/src/smooth.cpp int cn = src.channels(); channels 3323 modules/imgproc/src/smooth.cpp int cn = src.channels(); channels 239 modules/imgproc/src/templmatch.cpp if (_image.channels() == 1) channels 245 modules/imgproc/src/templmatch.cpp UMat result_(image.rows-templ.rows+1,(image.cols-templ.cols+1)*image.channels(), CV_32F); channels 250 modules/imgproc/src/templmatch.cpp return (extractFirstChannel_32F(result_, _result, _image.channels())); channels 544 modules/imgproc/src/templmatch.cpp int cn = _img.channels(); channels 644 modules/imgproc/src/templmatch.cpp int depth = img.depth(), cn = img.channels(); channels 645 modules/imgproc/src/templmatch.cpp int tdepth = templ.depth(), tcn = templ.channels(); channels 55 modules/imgproc/src/thresh.cpp roi.width *= _src.channels(); channels 393 modules/imgproc/src/thresh.cpp roi.width *= _src.channels(); channels 662 modules/imgproc/src/thresh.cpp roi.width *= _src.channels(); channels 1342 modules/imgproc/src/thresh.cpp CV_Assert( src.size == dst.size && src.channels() == dst.channels() && channels 401 modules/imgproc/src/undistort.cpp ((src.rows == 1 && src.channels() == 2) || src.cols*src.channels() == 2)); channels 504 modules/imgproc/src/undistort.cpp Mat distCoeffs(distCoeffs0.rows, distCoeffs0.cols, CV_MAKETYPE(CV_64F,distCoeffs0.channels()), k); channels 514 modules/imgproc/src/undistort.cpp int ndcoeffs = distCoeffs0.cols*distCoeffs0.rows*distCoeffs0.channels(); channels 57 modules/imgproc/test/ocl/test_accumulate.cpp int sdepth, ddepth, channels; channels 70 modules/imgproc/test/ocl/test_accumulate.cpp channels = GET_PARAM(1); channels 76 modules/imgproc/test/ocl/test_accumulate.cpp const int stype = CV_MAKE_TYPE(sdepth, channels), channels 77 modules/imgproc/test/ocl/test_accumulate.cpp dtype = CV_MAKE_TYPE(ddepth, channels); channels 57 modules/imgproc/test/ocl/test_blend.cpp int depth, channels; channels 69 modules/imgproc/test/ocl/test_blend.cpp channels = GET_PARAM(1); channels 75 modules/imgproc/test/ocl/test_blend.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 72 modules/imgproc/test/ocl/test_histogram.cpp std::vector<int> channels; channels 104 modules/imgproc/test/ocl/test_histogram.cpp channels.clear(); channels 115 modules/imgproc/test/ocl/test_histogram.cpp channels.push_back(randomInt(0, cn) + totalChannels); channels 125 modules/imgproc/test/ocl/test_histogram.cpp cv::calcHist(images_roi, channels, noArray(), tmpHist, hist_size, ranges); channels 205 modules/imgproc/test/ocl/test_histogram.cpp OCL_OFF(cv::calcBackProject(images_roi, channels, hist_roi, dst_roi, ranges, scale)); channels 206 modules/imgproc/test/ocl/test_histogram.cpp OCL_ON(cv::calcBackProject(uimages_roi, channels, uhist_roi, udst_roi, ranges, scale)); channels 253 modules/imgproc/test/ocl/test_histogram.cpp const std::vector<int> channels(1, 0); channels 263 modules/imgproc/test/ocl/test_histogram.cpp OCL_OFF(cv::calcHist(std::vector<Mat>(1, src_roi), channels, noArray(), hist_roi, histSize, ranges, false)); channels 264 modules/imgproc/test/ocl/test_histogram.cpp OCL_ON(cv::calcHist(std::vector<UMat>(1, usrc_roi), channels, noArray(), uhist_roi, histSize, ranges, false)); channels 57 modules/imgproc/test/ocl/test_pyramids.cpp int depth, channels, borderType; channels 66 modules/imgproc/test/ocl/test_pyramids.cpp channels = GET_PARAM(1); channels 74 modules/imgproc/test/ocl/test_pyramids.cpp randomSubMat(src, src_roi, src_roiSize, srcBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); channels 77 modules/imgproc/test/ocl/test_pyramids.cpp randomSubMat(dst, dst_roi, dst_roiSize, dstBorder, CV_MAKETYPE(depth, channels), -MAX_VALUE, MAX_VALUE); channels 100 modules/imgproc/test/test_bilateral_filter.cpp int cn = src.channels(); channels 168 modules/imgproc/test/test_color.cpp cv::cvtColor( cv::cvarrToMat(inplace ? out0 : test_array[INPUT][0]), _out0, fwd_code, _out0.channels()); channels 178 modules/imgproc/test/test_color.cpp cv::cvtColor(cv::cvarrToMat(out0), _out1, inv_code, _out1.channels()); channels 210 modules/imgproc/test/test_color.cpp int cn = src.channels(), dst_cn = dst.channels(); channels 305 modules/imgproc/test/test_color.cpp int src_cn = dst.channels(), cn = dst2.channels(); channels 399 modules/imgproc/test/test_color.cpp if( src.channels() == 4 ) channels 1341 modules/imgproc/test/test_color.cpp int depth = src.depth(), cn = src.channels(); channels 1427 modules/imgproc/test/test_color.cpp int depth = src.depth(), cn = dst.channels(); channels 1583 modules/imgproc/test/test_color.cpp cv::cvtColor(cv::cvarrToMat(test_array[INPUT][0]), _out, fwd_code, _out.channels()); channels 1836 modules/imgproc/test/test_color.cpp if (reference.depth() != dst.depth() || reference.channels() != dst.channels() || channels 1842 modules/imgproc/test/test_color.cpp "Actual channels: %d\n", reference.channels(), dst.channels()); channels 1898 modules/imgproc/test/test_color.cpp int cn = reference.channels(); channels 1962 modules/imgproc/test/test_color.cpp int dcn = dst.channels(); channels 2052 modules/imgproc/test/test_color.cpp EXPECT_EQ(actual.channels(), reference.channels()); channels 2056 modules/imgproc/test/test_color.cpp int dcn = reference.channels(); channels 2070 modules/imgproc/test/test_color.cpp ts->printf(SUM, "(y, x): (%d, %d)\n", y, x / reference.channels()); channels 2071 modules/imgproc/test/test_color.cpp ts->printf(SUM, "Channel pos: %d\n", x % reference.channels()); channels 2149 modules/imgproc/test/test_color.cpp CV_Assert(raw.channels() == 1); channels 2163 modules/imgproc/test/test_color.cpp EXPECT_EQ(reference.channels(), actual.channels()); channels 2166 modules/imgproc/test/test_color.cpp int cn = reference.channels(); channels 24 modules/imgproc/test/test_cvtyuv.cpp virtual int channels() = 0; channels 38 modules/imgproc/test/test_cvtyuv.cpp virtual int channels() = 0; channels 49 modules/imgproc/test/test_cvtyuv.cpp virtual int channels() = 0; channels 75 modules/imgproc/test/test_cvtyuv.cpp virtual int channels() = 0; channels 562 modules/imgproc/test/test_cvtyuv.cpp return (rgbWriter_ != 0) ? rgbWriter_->channels() : ((grayWriter_ != 0) ? grayWriter_->channels() : yuvWriter_->channels()); channels 567 modules/imgproc/test/test_cvtyuv.cpp return (yuvReader_ != 0) ? yuvReader_->channels() : rgbReader_->channels(); channels 710 modules/imgproc/test/test_filter.cpp return code > 0 && !normalize && test_mat[INPUT][0].channels() > 1 ? 0 : code; channels 997 modules/imgproc/test/test_filter.cpp int i, cn = src0.channels(); channels 1057 modules/imgproc/test/test_filter.cpp const int channels[] = {1, 3, 4}; channels 1065 modules/imgproc/test/test_filter.cpp int cn = channels[cvtest::randInt(rng) % (sizeof(channels)/sizeof(channels[0]))]; channels 1648 modules/imgproc/test/test_filter.cpp return code > 0 && ((test_array[OUTPUT][2] && test_mat[OUTPUT][2].channels() > 1) || channels 1729 modules/imgproc/test/test_filter.cpp int cn = src.channels(); channels 170 modules/imgproc/test/test_floodfill.cpp tmp.create(arr.size(), CV_MAKETYPE(CV_8U, arr.channels())); channels 1132 modules/imgproc/test/test_histograms.cpp int channels[CV_MAX_DIM+1]; channels 1148 modules/imgproc/test/test_histograms.cpp channels[i] = 0; channels 1186 modules/imgproc/test/test_histograms.cpp channels[i] = cvtest::randInt(rng) % nch; channels 1214 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( IplImage** _images, CvHistogram* hist, IplImage* _mask, int* channels ) channels 1249 modules/imgproc/test/test_histograms.cpp plane[k].ptr = &CV_MAT_ELEM(images[k], uchar, y, 0 ) + channels[k]; channels 1252 modules/imgproc/test/test_histograms.cpp plane[k].fl = &CV_MAT_ELEM(images[k], float, y, 0 ) + channels[k]; channels 1310 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( images, hist[1], images[CV_MAX_DIM], channels ); channels 1343 modules/imgproc/test/test_histograms.cpp int channels[CV_MAX_DIM+3]; channels 1359 modules/imgproc/test/test_histograms.cpp channels[i] = 0; channels 1397 modules/imgproc/test/test_histograms.cpp channels[i] = cvtest::randInt(rng) % nch; channels 1416 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( images, hist[0], images[CV_MAX_DIM], channels ); channels 1447 modules/imgproc/test/test_histograms.cpp cvTsCalcBackProject( IplImage** images, IplImage* dst, CvHistogram* hist, int* channels ) channels 1471 modules/imgproc/test/test_histograms.cpp plane[k].ptr = &CV_IMAGE_ELEM(images[k], uchar, y, 0 ) + channels[k]; channels 1474 modules/imgproc/test/test_histograms.cpp plane[k].fl = &CV_IMAGE_ELEM(images[k], float, y, 0 ) + channels[k]; channels 1536 modules/imgproc/test/test_histograms.cpp cvTsCalcBackProject( images, images[CV_MAX_DIM+2], hist[0], channels ); channels 1562 modules/imgproc/test/test_histograms.cpp int channels[CV_MAX_DIM+2]; channels 1583 modules/imgproc/test/test_histograms.cpp channels[i] = 0; channels 1629 modules/imgproc/test/test_histograms.cpp channels[i] = cvtest::randInt(rng) % nch; channels 1643 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( images, hist[0], 0, channels ); channels 1677 modules/imgproc/test/test_histograms.cpp double factor, int* channels ) channels 1713 modules/imgproc/test/test_histograms.cpp cvTsCalcHist( img, model, 0, channels ); channels 1730 modules/imgproc/test/test_histograms.cpp patch_size, hist[0], method, factor, channels ); channels 348 modules/imgproc/test/test_imgwarp.cpp int depth = src.depth(), cn = src.channels(); channels 899 modules/imgproc/test/test_imgwarp.cpp Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); channels 1052 modules/imgproc/test/test_imgwarp.cpp Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); channels 1108 modules/imgproc/test/test_imgwarp.cpp int cn = dst.channels(); channels 1232 modules/imgproc/test/test_imgwarp.cpp int ftype = CV_MAKETYPE(CV_32F,src0.channels()); channels 1356 modules/imgproc/test/test_imgwarp.cpp int ftype = CV_MAKETYPE(CV_32F,src0.channels()); channels 1571 modules/imgproc/test/test_imgwarp.cpp int cn = src.channels(); channels 211 modules/imgproc/test/test_imgwarp_strict.cpp reference_dst = Mat::zeros(dst.size(), CV_MAKE_TYPE(CV_32F, dst.channels())); channels 243 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _dst.channels(); channels 462 modules/imgproc/test/test_imgwarp_strict.cpp int cn = src.channels(); channels 515 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _dst.channels(); channels 834 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _src.channels(); channels 889 modules/imgproc/test/test_imgwarp_strict.cpp int cn = _src.channels(), width1 = std::max(ssize.width - ksize + 1, 0), channels 161 modules/imgproc/test/test_moments.cpp int cn = test_mat[INPUT][0].channels(); channels 209 modules/imgproc/test/test_moments.cpp int cn = src.channels(); channels 126 modules/imgproc/test/test_thresh.cpp int depth = _src.depth(), cn = _src.channels(); channels 8 modules/java/android_test/src/org/opencv/test/OpenCVTestCase.java import java.nio.channels.FileChannel; channels 61 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(imgBGR != null && !imgBGR.empty() && imgBGR.channels() == 3); channels 77 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(!imgRGBA.empty() && imgRGBA.channels() == 4); channels 95 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(!imgRGB.empty() && imgRGB.channels() == 3); channels 113 modules/java/android_test/src/org/opencv/test/android/UtilsTest.java assertTrue(!imgGray.empty() && imgGray.channels() == 1); channels 291 modules/java/generator/src/cpp/Mat.cpp return me->channels( ); channels 1756 modules/java/generator/src/cpp/Mat.cpp #define PUT_ITEM(T, R, C) { T*dst = (T*)me->ptr(R, C); for(int ch=0; ch<me->channels() && count>0; count--,ch++,src++,dst++) *dst = cv::saturate_cast<T>(*src); } channels 1771 modules/java/generator/src/cpp/Mat.cpp int rest = ((me->rows - row) * me->cols - col) * me->channels(); channels 2142 modules/java/generator/src/cpp/Mat.cpp jdoubleArray res = env->NewDoubleArray(me->channels()); channels 2147 modules/java/generator/src/cpp/Mat.cpp case CV_8U: for(i=0; i<me->channels(); i++) buff[i] = *((unsigned char*) me->ptr(row, col) + i); break; channels 2148 modules/java/generator/src/cpp/Mat.cpp case CV_8S: for(i=0; i<me->channels(); i++) buff[i] = *((signed char*) me->ptr(row, col) + i); break; channels 2149 modules/java/generator/src/cpp/Mat.cpp case CV_16U: for(i=0; i<me->channels(); i++) buff[i] = *((unsigned short*)me->ptr(row, col) + i); break; channels 2150 modules/java/generator/src/cpp/Mat.cpp case CV_16S: for(i=0; i<me->channels(); i++) buff[i] = *((signed short*) me->ptr(row, col) + i); break; channels 2151 modules/java/generator/src/cpp/Mat.cpp case CV_32S: for(i=0; i<me->channels(); i++) buff[i] = *((int*) me->ptr(row, col) + i); break; channels 2152 modules/java/generator/src/cpp/Mat.cpp case CV_32F: for(i=0; i<me->channels(); i++) buff[i] = *((float*) me->ptr(row, col) + i); break; channels 2153 modules/java/generator/src/cpp/Mat.cpp case CV_64F: for(i=0; i<me->channels(); i++) buff[i] = *((double*) me->ptr(row, col) + i); break; channels 2155 modules/java/generator/src/cpp/Mat.cpp env->SetDoubleArrayRegion(res, 0, me->channels(), buff); channels 12 modules/java/pure_test/src/org/opencv/test/OpenCVTestCase.java import java.nio.channels.FileChannel; channels 241 modules/ml/src/em.cpp CV_Assert(samples.channels() == 1); channels 269 modules/ml/src/em.cpp means->channels() == 1)); channels 280 modules/ml/src/em.cpp CV_Assert(!m.empty() && m.size() == covSize && (m.channels() == 1)); channels 1253 modules/objdetect/src/cascadedetect.cpp if (_image.channels() > 1) channels 240 modules/objdetect/src/hog.cpp int cn = img.channels(); channels 1095 modules/objdetect/test/test_cascadeandhog.cpp ts->printf(cvtest::TS::LOG, "Channels: %d\n", img.channels()); channels 1178 modules/objdetect/test/test_cascadeandhog.cpp ts->printf(cvtest::TS::LOG, "Channels: %d\n", img.channels()); channels 1199 modules/objdetect/test/test_cascadeandhog.cpp int cn = img.channels(); channels 1326 modules/objdetect/test/test_cascadeandhog.cpp ts->printf(cvtest::TS::LOG, "Channels: %d\n", img.channels()); channels 74 modules/photo/perf/perf_cuda.cpp const int channels = GET_PARAM(2); channels 81 modules/photo/perf/perf_cuda.cpp const int type = CV_MAKE_TYPE(depth, channels); channels 119 modules/photo/src/align.cpp CV_Assert(img0.channels() == 1 && img0.type() == img1.type()); channels 248 modules/photo/src/align.cpp int channels = 0; channels 253 modules/photo/src/align.cpp calcHist(&img, 1, &channels, Mat(), hist, 1, &hist_size, ranges); channels 74 modules/photo/src/calibrate.cpp int channels = images[0].channels(); channels 75 modules/photo/src/calibrate.cpp int CV_32FCC = CV_MAKETYPE(CV_32F, channels); channels 100 modules/photo/src/calibrate.cpp std::vector<Mat> result_split(channels); channels 101 modules/photo/src/calibrate.cpp for(int channel = 0; channel < channels; channel++) { channels 194 modules/photo/src/calibrate.cpp int channels = images[0].channels(); channels 195 modules/photo/src/calibrate.cpp int CV_32FCC = CV_MAKETYPE(CV_32F, channels); channels 205 modules/photo/src/calibrate.cpp for(int c = 0; c < channels; c++, ptr++) { channels 223 modules/photo/src/calibrate.cpp for(int c = 0; c < channels; c++, ptr++, rad_ptr++) { channels 235 modules/photo/src/calibrate.cpp float diff = static_cast<float>(sum(sum(abs(new_response - response)))[0] / channels); channels 62 modules/photo/src/contrast_preserve.cpp CV_Assert(!I.empty() && (I.channels()==3)); channels 92 modules/photo/src/denoising.cuda.cpp const func_t func = funcs[src.channels() - 1]; channels 123 modules/photo/src/denoising.cuda.cpp CV_Assert(src.depth() == CV_8U && src.channels() < 4); channels 145 modules/photo/src/denoising.cuda.cpp funcs[src.channels()-1](src_hdr, dst, buffer, search_window, block_window, h, StreamAccessor::getStream(stream)); channels 110 modules/photo/src/fast_nlmeans_denoising_invoker.hpp CV_Assert(src.channels() == pixelInfo<T>::channels); channels 226 modules/photo/src/fast_nlmeans_denoising_invoker.hpp IT estimation[pixelInfo<T>::channels], weights_sum[pixelInfo<WT>::channels]; channels 227 modules/photo/src/fast_nlmeans_denoising_invoker.hpp for (int channel_num = 0; channel_num < pixelInfo<T>::channels; channel_num++) channels 229 modules/photo/src/fast_nlmeans_denoising_invoker.hpp for (int channel_num = 0; channel_num < pixelInfo<WT>::channels; channel_num++) channels 245 modules/photo/src/fast_nlmeans_denoising_invoker.hpp divByWeightsSum<IT, UIT, pixelInfo<T>::channels, pixelInfo<WT>::channels>(estimation, channels 57 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static const int channels = 1; channels 63 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static const int channels = n; channels 137 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp double w = std::exp(-dist*dist / (h[0]*h[0] * pixelInfo<T>::channels)); channels 189 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return (int)pixelInfo<T>::sampleMax() * pixelInfo<T>::channels; channels 259 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp double w = std::exp(-dist / (h[0]*h[0] * pixelInfo<T>::channels)); channels 312 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp pixelInfo<T>::channels; channels 214 modules/photo/src/fast_nlmeans_denoising_opencl.hpp cvtColor(dst_lab, dst, COLOR_Lab2LBGR, src.channels()); channels 109 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp CV_Assert(srcImgs[0].channels() == pixelInfo<T>::channels); channels 246 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp IT estimation[pixelInfo<T>::channels], weights_sum[pixelInfo<WT>::channels]; channels 247 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp for (size_t channel_num = 0; channel_num < pixelInfo<T>::channels; channel_num++) channels 249 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp for (size_t channel_num = 0; channel_num < pixelInfo<WT>::channels; channel_num++) channels 272 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp divByWeightsSum<IT, UIT, pixelInfo<T>::channels, pixelInfo<WT>::channels>(estimation, channels 86 modules/photo/src/hdr_common.cpp std::vector<Mat> channels(3); channels 87 modules/photo/src/hdr_common.cpp split(src, channels); channels 89 modules/photo/src/hdr_common.cpp channels[i] = channels[i].mul(1.0f / lum); channels 90 modules/photo/src/hdr_common.cpp pow(channels[i], saturation, channels[i]); channels 91 modules/photo/src/hdr_common.cpp channels[i] = channels[i].mul(new_lum); channels 93 modules/photo/src/hdr_common.cpp merge(channels, dst); channels 96 modules/photo/src/hdr_common.cpp Mat linearResponse(int channels) channels 98 modules/photo/src/hdr_common.cpp Mat response = Mat(LDR_SIZE, 1, CV_MAKETYPE(CV_32F, channels)); channels 59 modules/photo/src/hdr_common.hpp Mat linearResponse(int channels); channels 69 modules/photo/src/merge.cpp int channels = images[0].channels(); channels 71 modules/photo/src/merge.cpp int CV_32FCC = CV_MAKETYPE(CV_32F, channels); channels 79 modules/photo/src/merge.cpp response = linearResponse(channels); channels 84 modules/photo/src/merge.cpp response.channels() == channels); channels 99 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 103 modules/photo/src/merge.cpp w /= channels; channels 108 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 114 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 158 modules/photo/src/merge.cpp int channels = images[0].channels(); channels 159 modules/photo/src/merge.cpp CV_Assert(channels == 1 || channels == 3); channels 161 modules/photo/src/merge.cpp int CV_32FCC = CV_MAKETYPE(CV_32F, channels); channels 168 modules/photo/src/merge.cpp std::vector<Mat> splitted(channels); channels 171 modules/photo/src/merge.cpp if(channels == 3) { channels 182 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 185 modules/photo/src/merge.cpp mean /= channels; channels 188 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 196 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 208 modules/photo/src/merge.cpp if(channels == 3) { channels 232 modules/photo/src/merge.cpp std::vector<Mat> splitted(channels); channels 234 modules/photo/src/merge.cpp for(int c = 0; c < channels; c++) { channels 309 modules/photo/src/merge.cpp int channels = images[0].channels(); channels 310 modules/photo/src/merge.cpp int CV_32FCC = CV_MAKETYPE(CV_32F, channels); channels 318 modules/photo/src/merge.cpp response = linearResponse(channels) / middle; channels 321 modules/photo/src/merge.cpp response.channels() == channels); channels 75 modules/photo/src/npr.hpp int channel = img.channels(); channels 90 modules/photo/src/npr.hpp int channel = img.channels(); channels 107 modules/photo/src/npr.hpp int channel = img.channels(); channels 122 modules/photo/src/npr.hpp int channel = img.channels(); channels 176 modules/photo/src/npr.hpp int channel = output.channels(); channels 311 modules/photo/src/npr.hpp int channel = output.channels(); channels 401 modules/photo/src/npr.hpp int channel = img.channels(); channels 67 modules/photo/src/seamless_cloning.cpp if(mask.channels() == 3) channels 130 modules/photo/src/seamless_cloning.cpp if(mask.channels() == 3) channels 155 modules/photo/src/seamless_cloning.cpp if(mask.channels() == 3) channels 180 modules/photo/src/seamless_cloning.cpp if(mask.channels() == 3) channels 54 modules/photo/src/seamless_cloning_impl.cpp if(img.channels() == 3) channels 58 modules/photo/src/seamless_cloning_impl.cpp else if (img.channels() == 1) channels 75 modules/photo/src/seamless_cloning_impl.cpp if(img.channels() == 3) channels 79 modules/photo/src/seamless_cloning_impl.cpp else if (img.channels() == 1) channels 282 modules/photo/src/seamless_cloning_impl.cpp vector <Mat> channels; channels 283 modules/photo/src/seamless_cloning_impl.cpp split(mat,channels); channels 284 modules/photo/src/seamless_cloning_impl.cpp multiply(channels[2],r,channels[2]); channels 285 modules/photo/src/seamless_cloning_impl.cpp multiply(channels[1],g,channels[1]); channels 286 modules/photo/src/seamless_cloning_impl.cpp multiply(channels[0],b,channels[0]); channels 287 modules/photo/src/seamless_cloning_impl.cpp merge(channels,mat); channels 344 modules/photo/src/seamless_cloning_impl.cpp const int channel = destination.channels(); channels 311 modules/photo/src/tonemap.cpp std::vector<Mat> channels(3); channels 312 modules/photo/src/tonemap.cpp split(img, channels); channels 316 modules/photo/src/tonemap.cpp Mat adapt = color_adapt * channels[i] + (1.0f - color_adapt) * gray_img; channels 319 modules/photo/src/tonemap.cpp channels[i] = channels[i].mul(1.0f / (adapt + channels[i])); channels 322 modules/photo/src/tonemap.cpp merge(channels, img); channels 60 modules/photo/test/test_decolor.cpp ASSERT_FALSE(original.channels()!=3) << "Load color input image " << original_path; channels 766 modules/python/src2/cv2.cpp int depth = CV_MAT_DEPTH(type), channels = CV_MAT_CN(type); channels 776 modules/python/src2/cv2.cpp if( channels == 2 && PyComplex_CheckExact(item) ) channels 783 modules/python/src2/cv2.cpp if( channels > 1 ) channels 789 modules/python/src2/cv2.cpp if( src.dims != 2 || src.channels() != 1 || channels 790 modules/python/src2/cv2.cpp ((src.cols != 1 || src.rows != channels) && channels 791 modules/python/src2/cv2.cpp (src.cols != channels || src.rows != 1))) channels 801 modules/python/src2/cv2.cpp if( !seq_i || (int)PySequence_Fast_GET_SIZE(seq_i) != channels ) channels 809 modules/python/src2/cv2.cpp for( j = 0; j < channels; j++ ) channels 837 modules/python/src2/cv2.cpp if( j < channels ) channels 848 modules/python/src2/cv2.cpp Mat src((int)value.size(), DataType<_Tp>::channels, DataType<_Tp>::depth, (uchar*)&value[0]); channels 187 modules/shape/src/aff_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); channels 231 modules/shape/src/aff_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0)); channels 136 modules/shape/src/haus_dis.cpp CV_Assert((set1.channels()==2) && (set1.cols>0)); channels 137 modules/shape/src/haus_dis.cpp CV_Assert((set2.channels()==2) && (set2.cols>0)); channels 202 modules/shape/src/sc_dis.cpp CV_Assert((set1.channels()==2) && (set1.cols>0)); channels 203 modules/shape/src/sc_dis.cpp CV_Assert((set2.channels()==2) && (set2.cols>0)); channels 170 modules/shape/src/tps_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0)); channels 193 modules/shape/src/tps_trans.cpp CV_Assert((pts1.channels()==2) && (pts1.cols>0) && (pts2.channels()==2) && (pts2.cols>0)); channels 528 modules/stitching/src/seam_finders.cpp CV_Assert(image1.channels() == 3 || image1.channels() == 4); channels 529 modules/stitching/src/seam_finders.cpp CV_Assert(image2.channels() == 3 || image2.channels() == 4); channels 534 modules/stitching/src/seam_finders.cpp if (image1.channels() == 3) channels 536 modules/stitching/src/seam_finders.cpp else if (image1.channels() == 4) channels 542 modules/stitching/src/seam_finders.cpp if (image2.channels() == 3) channels 544 modules/stitching/src/seam_finders.cpp else if (image2.channels() == 4) channels 1094 modules/stitching/src/seam_finders.cpp CV_Assert(src[i].channels() == 3); channels 1339 modules/stitching/src/seam_finders.cpp CV_Assert(src[i].channels() == 3); channels 271 modules/superres/src/btv_l1.cpp int cn = _src.channels(); channels 314 modules/superres/src/btv_l1.cpp int cn = src1.channels(); channels 334 modules/superres/src/btv_l1.cpp const int count = src1.cols * src1.channels(); channels 423 modules/superres/src/btv_l1.cpp int cn = _src.channels(); channels 458 modules/superres/src/btv_l1.cpp const func_t func = funcs[_src.channels()]; channels 155 modules/superres/src/btv_l1_cuda.cpp CV_Assert( src.channels() == 1 || src.channels() == 3 || src.channels() == 4 ); channels 160 modules/superres/src/btv_l1_cuda.cpp const func_t func = funcs[src.channels()]; channels 207 modules/superres/src/btv_l1_cuda.cpp funcs[src.channels()](src, dst, ksize); channels 169 modules/superres/src/input_array_utility.cpp int scn = src.channels(); channels 250 modules/superres/src/input_array_utility.cpp if (src.channels() == cn) channels 275 modules/superres/src/input_array_utility.cpp if (src.channels() == cn) channels 300 modules/superres/src/input_array_utility.cpp if (src.channels() == cn) channels 204 modules/superres/test/test_superres.cpp if (_i1.channels() == 1) channels 227 modules/ts/src/cuda_test.cpp const int cn = m.channels(); channels 235 modules/ts/src/cuda_test.cpp for (int c = 1; c < m.channels(); ++c) channels 347 modules/ts/src/cuda_test.cpp << "\" is " << maxVal << " at (" << maxLoc.y << ", " << maxLoc.x / m1.channels() << ")" channels 349 modules/ts/src/cuda_test.cpp << expr1 << "\" at (" << maxLoc.y << ", " << maxLoc.x / m1.channels() << ") evaluates to " << printMatVal(m1, maxLoc) << ", \"" channels 350 modules/ts/src/cuda_test.cpp << expr2 << "\" at (" << maxLoc.y << ", " << maxLoc.x / m1.channels() << ") evaluates to " << printMatVal(m2, maxLoc) << ", \"" channels 588 modules/ts/src/ts.cpp const int ch = img.channels(); channels 610 modules/ts/src/ts.cpp const int ch = img.channels(); channels 323 modules/ts/src/ts_arrtest.cpp arr.channels(), sizestr.c_str() ); channels 76 modules/ts/src/ts_func.cpp int channels = rng.uniform(minChannels, maxChannels+1); channels 85 modules/ts/src/ts_func.cpp return CV_MAKETYPE(depth, channels); channels 178 modules/ts/src/ts_func.cpp ctype = CV_MAKETYPE(CV_MAT_DEPTH(ctype), a.channels()); channels 185 modules/ts/src/ts_func.cpp int cn=a.channels(); channels 283 modules/ts/src/ts_func.cpp dtype = CV_MAKETYPE(CV_MAT_DEPTH(dtype), src.channels()); channels 301 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); channels 383 modules/ts/src/ts_func.cpp scalarToRawData(gamma, &buf, dst.type(), dst.channels()); channels 443 modules/ts/src/ts_func.cpp 0 <= coi && coi < dst.channels() ); channels 468 modules/ts/src/ts_func.cpp CV_Assert( 0 <= coi && coi < src.channels() ); channels 558 modules/ts/src/ts_func.cpp int depth = a.depth(), cn = a.channels(); channels 596 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); channels 618 modules/ts/src/ts_func.cpp int width = dst.cols*src.channels(), n = (int)ofsvec.size(); channels 660 modules/ts/src/ts_func.cpp int step = (int)(src.step/src.elemSize1()), cn = src.channels(); channels 717 modules/ts/src/ts_func.cpp int step = (int)(src.step/src.elemSize1()), cn = src.channels(); channels 759 modules/ts/src/ts_func.cpp int width = dst.cols*dst.channels(), ncoeffs = (int)ofsvec.size(); channels 790 modules/ts/src/ts_func.cpp _dst.create( _src.size(), CV_MAKETYPE(CV_64F, src.channels()) ); channels 797 modules/ts/src/ts_func.cpp int step = (int)(src.step/src.elemSize1()), cn = src.channels(); channels 879 modules/ts/src/ts_func.cpp scalarToRawData(borderValue, val, src.type(), (src.cols + left + right)*src.channels()); channels 1028 modules/ts/src/ts_func.cpp int sz = mtx.size[i]*(i == mtx.dims-1 ? mtx.channels() : 1); channels 1044 modules/ts/src/ts_func.cpp CV_Assert( src.channels() == 1 ); channels 1280 modules/ts/src/ts_func.cpp int depth = src.depth(), cn = planes[0].channels(); channels 1361 modules/ts/src/ts_func.cpp int depth = src1.depth(), cn = planes[0].channels(); channels 1405 modules/ts/src/ts_func.cpp double diff = std::sqrt(cvtest::norm(_src1, _src2, NORM_L2SQR)/(_src1.total()*_src1.channels())); channels 1425 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); channels 1635 modules/ts/src/ts_func.cpp CV_Assert( src1.type() == src2.type() && src1.channels() == 1 && src1.size == src2.size ); channels 1682 modules/ts/src/ts_func.cpp CV_Assert( src.channels() == 1 ); channels 1817 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); channels 1903 modules/ts/src/ts_func.cpp size_t total = plane.total()*plane.channels(); channels 1976 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(), j = total; channels 2224 modules/ts/src/ts_func.cpp int cn = a.channels(); channels 2292 modules/ts/src/ts_func.cpp int scn = src.channels(); channels 2293 modules/ts/src/ts_func.cpp int dcn = dst.channels(); channels 2386 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); channels 2454 modules/ts/src/ts_func.cpp size_t total = planes[0].total()*planes[0].channels(); channels 2526 modules/ts/src/ts_func.cpp size_t total = planes[1].total()*planes[1].channels(); channels 2613 modules/ts/src/ts_func.cpp int depth = src.depth(), cn = src.channels(); channels 2654 modules/ts/src/ts_func.cpp int j, ncols = mat.cols * mat.channels(); channels 2775 modules/ts/src/ts_func.cpp Mat _k(_k0.rows,_k0.cols, CV_MAKETYPE(CV_64F,_k0.channels()),k); channels 2811 modules/ts/src/ts_func.cpp out << depthstr[m.m->depth()] << "C" << m.m->channels() << " " << m.m->dims << "-dim ("; channels 2900 modules/ts/src/ts_func.cpp int i, depth = m.m->depth(), cn = m.m->channels(), width = m.m->cols*cn; channels 324 modules/ts/src/ts_perf.cpp << "val" << getElem(m, m.size.p[0] - 1, m.size.p[1] - 1, m.channels() - 1) << "}"; channels 329 modules/ts/src/ts_perf.cpp cn = regRNG.uniform(0, m.channels()); channels 336 modules/ts/src/ts_perf.cpp cn = regRNG.uniform(0, m.channels()); channels 361 modules/ts/src/ts_perf.cpp double actual_last = getElem(actual, actual.size.p[0] - 1, actual.size.p[1] - 1, actual.channels() - 1); channels 411 modules/ts/src/ts_perf.cpp if (m.total() * m.channels() < 26) //5x5 or smaller channels 418 modules/ts/src/ts_perf.cpp if (array.total() * array.channels() < 26) //5x5 or smaller channels 467 modules/ts/src/ts_perf.cpp ASSERT_LE((size_t)26, actual.total() * (size_t)actual.channels()) channels 493 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) channels 509 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) channels 523 modules/ts/src/ts_perf.cpp ASSERT_LE((size_t)26, array.total() * (size_t)array.channels()) channels 550 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) channels 566 modules/ts/src/ts_perf.cpp if(expected.total() * expected.channels() < 12) channels 629 modules/video/src/bgfg_KNN.cpp std::vector<Mat> channels; channels 630 modules/video/src/bgfg_KNN.cpp split(meanBackground, channels); channels 631 modules/video/src/bgfg_KNN.cpp channels[0].copyTo(backgroundImage); channels 555 modules/video/src/bgfg_gaussmix2.cpp int ncols = src->cols, nchannels = src->channels(); channels 53 modules/video/src/camshift.cpp umat = _probImage.getUMat(), cn = umat.channels(), size = umat.size(); channels 55 modules/video/src/camshift.cpp mat = _probImage.getMat(), cn = mat.channels(), size = mat.size(); channels 56 modules/video/src/lkpyramid.cpp int rows = src.rows, cols = src.cols, cn = src.channels(), colsn = cols*cn, depth = src.depth(); channels 231 modules/video/src/lkpyramid.cpp int j, cn = I.channels(), cn2 = cn*2; channels 753 modules/video/src/lkpyramid.cpp int derivType = CV_MAKETYPE(DataType<cv::detail::deriv_type>::depth, img.channels() * 2); channels 1159 modules/video/src/lkpyramid.cpp if (levels1 % 2 == 1 && prevPyr[0].channels() * 2 == prevPyr[1].channels() && prevPyr[1].depth() == derivDepth) channels 1187 modules/video/src/lkpyramid.cpp if (levels2 % 2 == 1 && nextPyr[0].channels() * 2 == nextPyr[1].channels() && nextPyr[1].depth() == derivDepth) channels 1227 modules/video/src/lkpyramid.cpp derivIBuf.create(prevPyr[0].rows + winSize.height*2, prevPyr[0].cols + winSize.width*2, CV_MAKETYPE(derivDepth, prevPyr[0].channels() * 2)); channels 1385 modules/video/src/lkpyramid.cpp int cn = A.channels(); channels 614 modules/video/src/optflowgf.cpp CV_Assert(frame0.channels() == 1 && frame1.channels() == 1); channels 1097 modules/video/src/optflowgf.cpp CV_Assert( prev0.size() == next0.size() && prev0.channels() == next0.channels() && channels 1098 modules/video/src/optflowgf.cpp prev0.channels() == 1 && pyr_scale < 1 ); channels 501 modules/videoio/src/cap_libv4l.cpp if (-1 != xioctl (capture->deviceHandle, VIDIOC_G_INPUT, &capture->capability.channels)) channels 916 modules/videoio/src/cap_libv4l.cpp if(capture->capability.channels>0) { channels 404 modules/videoio/src/cap_mjpeg_encoder.cpp channels = iscolor ? 3 : 1; channels 483 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putShort(channels); // bits per pixel channels 485 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putInt(width * height * channels); channels 574 modules/videoio/src/cap_mjpeg_encoder.cpp int input_channels = img.channels(); channels 577 modules/videoio/src/cap_mjpeg_encoder.cpp if( input_channels == 1 && channels == 1 ) channels 584 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); channels 589 modules/videoio/src/cap_mjpeg_encoder.cpp CV_Assert( img.cols == width && img.rows == height && channels == 3 ); channels 592 modules/videoio/src/cap_mjpeg_encoder.cpp else if( input_channels == 1 && channels == 3 ) channels 636 modules/videoio/src/cap_mjpeg_encoder.cpp int width, height, channels; channels 1143 modules/videoio/src/cap_mjpeg_encoder.cpp int x_scale = channels > 1 ? 2 : 1, y_scale = x_scale; channels 1151 modules/videoio/src/cap_mjpeg_encoder.cpp int block_count = luma_count + channels - 1; channels 1167 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 0; i < (channels > 1 ? 2 : 1); i++ ) channels 1192 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 0; i < (channels > 1 ? 4 : 2); i++ ) channels 1212 modules/videoio/src/cap_mjpeg_encoder.cpp strm.jputShort( 8 + 3*channels ); // length of frame header channels 1216 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putByte( channels ); // number of components channels 1218 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 0; i < channels; i++ ) channels 1230 modules/videoio/src/cap_mjpeg_encoder.cpp strm.jputShort( 6 + 2*channels ); // length of scan header channels 1231 modules/videoio/src/cap_mjpeg_encoder.cpp strm.putByte( channels ); // number of components in the scan channels 1233 modules/videoio/src/cap_mjpeg_encoder.cpp for( i = 0; i < channels; i++ ) channels 1278 modules/videoio/src/cap_mjpeg_encoder.cpp if( channels > 1 ) channels 1034 modules/videoio/src/cap_v4l.cpp if(capture->capability.channels>0) { channels 366 modules/videoio/test/test_ffmpeg.cpp EXPECT_EQ(reference.channels(), actual.channels()); channels 792 modules/videostab/src/global_motion.cpp if (frame0.channels() == 1) channels 292 modules/viz/src/clouds.cpp int s_chs = cloud.channels(); channels 293 modules/viz/src/clouds.cpp int n_chs = normals.channels(); channels 373 modules/viz/src/clouds.cpp int s_chs = mesh.cloud.channels(); channels 772 modules/viz/src/shapes.cpp if (image.channels() == 1) channels 95 modules/viz/src/vtk/vtkCloudMatSink.cpp int channels = scalars_data->GetNumberOfComponents(); channels 98 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert((channels == 3 || channels == 4) && "Only 3- or 4-channel color data support is implemented"); channels 101 modules/viz/src/vtk/vtkCloudMatSink.cpp Mat buffer(cloud.size(), CV_64FC(channels)); channels 115 modules/viz/src/vtk/vtkCloudMatSink.cpp int channels = normals_data->GetNumberOfComponents(); channels 118 modules/viz/src/vtk/vtkCloudMatSink.cpp CV_Assert((vtktype == VTK_FLOAT || VTK_FLOAT == VTK_DOUBLE) && (channels == 3 || channels == 4)); channels 121 modules/viz/src/vtk/vtkCloudMatSink.cpp Mat buffer(cloud.size(), CV_64FC(channels)); channels 72 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_cloud.channels() == 3 || _cloud.channels() == 4); channels 94 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_colors.depth() == CV_8U && _colors.channels() <= 4 && _colors.channels() != 2); channels 116 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_normals.channels() == 3 || _normals.channels() == 4); channels 144 modules/viz/src/vtk/vtkCloudMatSource.cpp CV_Assert(_tcoords.channels() == 2 && _tcoords.size() == _cloud.size()); channels 191 modules/viz/src/vtk/vtkCloudMatSource.cpp int s_chs = cloud.channels(); channels 213 modules/viz/src/vtk/vtkCloudMatSource.cpp int s_chs = cloud_colors.channels(); channels 214 modules/viz/src/vtk/vtkCloudMatSource.cpp int m_chs = mask.channels(); channels 221 modules/viz/src/vtk/vtkCloudMatSource.cpp if (cloud_colors.channels() == 1) channels 249 modules/viz/src/vtk/vtkCloudMatSource.cpp int s_chs = cloud_normals.channels(); channels 250 modules/viz/src/vtk/vtkCloudMatSource.cpp int m_chs = mask.channels(); channels 282 modules/viz/src/vtk/vtkCloudMatSource.cpp for (; srow != send; ++srow, mrow += mask.channels()) channels 81 modules/viz/src/vtk/vtkImageMatSource.cpp CV_Assert(_image.depth() == CV_8U && (_image.channels() == 1 || _image.channels() == 3 || _image.channels() == 4)); channels 87 modules/viz/src/vtk/vtkImageMatSource.cpp this->ImageData->SetNumberOfScalarComponents(image.channels()); channels 91 modules/viz/src/vtk/vtkImageMatSource.cpp this->ImageData->AllocateScalars(VTK_UNSIGNED_CHAR, image.channels()); channels 94 modules/viz/src/vtk/vtkImageMatSource.cpp switch(image.channels()) channels 126 modules/viz/src/vtk/vtkImageMatSource.cpp for (int x = 0; x < source.cols; ++x, srow += source.channels()) channels 140 modules/viz/src/vtk/vtkImageMatSource.cpp for (int x = 0; x < source.cols; ++x, srow += source.channels()) channels 333 samples/cpp/cloning_gui.cpp channel = img0.channels(); channels 139 samples/cpp/create_mask.cpp channel = img0.channels(); channels 81 samples/cpp/pca.cpp if(src.channels() != 1) { channels 158 samples/cpp/pca.cpp reconstruction = reconstruction.reshape(images[0].channels(), images[0].rows); // reshape from a row vector into image shape channels 168 samples/cpp/pca.cpp p.ch = images[0].channels(); channels 250 samples/cpp/stereo_match.cpp int cn = img1.channels(); channels 151 samples/cpp/tutorial_code/HighGUI/video-input-psnr-ssim/video-input-psnr-ssim.cpp double mse = sse / (double)(I1.channels() * I1.total()); channels 90 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp int channels[] = { 0, 1 }; channels 93 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp calcHist( &hsv, 1, channels, mask, hist, 2, histSize, ranges, true, false ); channels 99 samples/cpp/tutorial_code/Histograms_Matching/calcBackProject_Demo2.cpp calcBackProject( &hsv, 1, channels, hist, backproj, ranges, 1, true ); channels 55 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp int channels[] = { 0, 1 }; channels 65 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp calcHist( &hsv_base, 1, channels, Mat(), hist_base, 2, histSize, ranges, true, false ); channels 68 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp calcHist( &hsv_half_down, 1, channels, Mat(), hist_half_down, 2, histSize, ranges, true, false ); channels 71 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp calcHist( &hsv_test1, 1, channels, Mat(), hist_test1, 2, histSize, ranges, true, false ); channels 74 samples/cpp/tutorial_code/Histograms_Matching/compareHist_Demo.cpp calcHist( &hsv_test2, 1, channels, Mat(), hist_test2, 2, histSize, ranges, true, false ); channels 31 samples/cpp/tutorial_code/ImgProc/Morphology_3.cpp if (src.channels() == 3) channels 139 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp int channels = I.channels(); channels 142 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp int nCols = I.cols * channels; channels 170 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp const int channels = I.channels(); channels 171 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp switch(channels) channels 202 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp const int channels = I.channels(); channels 203 samples/cpp/tutorial_code/core/how_to_scan_images/how_to_scan_images.cpp switch(channels) channels 66 samples/cpp/tutorial_code/core/mat_mask_operations/mat_mask_operations.cpp const int nChannels = myImage.channels(); channels 188 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double mse =sse /(double)(I1.channels() * I1.total()); channels 213 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double mse = sse /(double)(I1.channels() * I1.total()); channels 241 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp double mse =sse /(double)(gI1.channels() * I1.total()); channels 313 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp gI1.convertTo(tmp1, CV_MAKE_TYPE(CV_32F, gI1.channels())); channels 314 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp gI2.convertTo(tmp2, CV_MAKE_TYPE(CV_32F, gI2.channels())); channels 323 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp for( int i = 0; i < gI1.channels(); ++i ) channels 394 samples/cpp/tutorial_code/gpu/gpu-basics-similarity/gpu-basics-similarity.cpp for( int i = 0; i < b.gI1.channels(); ++i ) channels 332 samples/cpp/tutorial_code/photo/seamless_cloning/cloning_gui.cpp channel = img0.channels(); channels 32 samples/gpu/cascadeclassifier.cpp if (src.channels() == 3) channels 55 samples/gpu/cascadeclassifier.cpp if (src.channels() == 3) channels 57 samples/gpu/morphology.cpp if (src.channels() == 3) channels 194 samples/gpu/stereo_match.cpp if (d_left.channels() > 1 || d_right.channels() > 1) channels 199 samples/gpu/stereo_match.cpp cout << "image_channels: " << left.channels() << endl; channels 226 samples/gpu/stereo_match.cpp cout << "image_channels: " << left.channels() << endl; channels 259 samples/gpu/stereo_match.cpp if (left.channels() == 1 && p.method != Params::BM) channels 271 samples/gpu/stereo_match.cpp cout << "image_channels: " << left.channels() << endl; channels 1346 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp const int channels[3][1] = {{0}, {1}, {2}}; channels 1370 samples/winrt/ImageManipulations/MediaExtensions/OcvTransform/OcvTransform.cpp cv::calcHist(&BgrFrame, 1, channels[c], cv::Mat(), hist, 1, mHistSize, ranges);