Lines Matching refs:channels
101 int gdal2opencv( const GDALDataType& gdalType, const int& channels ){ in gdal2opencv() argument
107 if( channels == 1 ){ return CV_8UC1; } in gdal2opencv()
108 if( channels == 3 ){ return CV_8UC3; } in gdal2opencv()
109 if( channels == 4 ){ return CV_8UC4; } in gdal2opencv()
114 if( channels == 1 ){ return CV_16UC1; } in gdal2opencv()
115 if( channels == 3 ){ return CV_16UC3; } in gdal2opencv()
116 if( channels == 4 ){ return CV_16UC4; } in gdal2opencv()
121 if( channels == 1 ){ return CV_16SC1; } in gdal2opencv()
122 if( channels == 3 ){ return CV_16SC3; } in gdal2opencv()
123 if( channels == 4 ){ return CV_16SC4; } in gdal2opencv()
129 if( channels == 1 ){ return CV_32SC1; } in gdal2opencv()
130 if( channels == 3 ){ return CV_32SC3; } in gdal2opencv()
131 if( channels == 4 ){ return CV_32SC4; } in gdal2opencv()
227 if( gdalChannels == 1 && image.channels() == 1 ){ in write_pixel()
238 else if( gdalChannels == 1 && image.channels() == 3 ){ in write_pixel()
249 else if( gdalChannels == 3 && image.channels() == 1 ){ in write_pixel()
255 else if( gdalChannels == 4 && image.channels() == 1 ){ in write_pixel()
261 else if( gdalChannels == 3 && image.channels() == 3 ){ in write_pixel()
272 else if( gdalChannels == 4 && image.channels() == 3 ){ in write_pixel()
284 else if( gdalChannels == 4 && image.channels() == 4 ){ in write_pixel()
326 if( image.channels() > 3 ){ in write_ctable_pixel()
373 if( nChannels > img.channels() ){ in readData()
374 nChannels = img.channels(); in readData()