Lines Matching full:numchannels
5185 +void ImageUtils::writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels)
5194 + if (numChannels == 3) {
5196 + } else if (numChannels == 1) {
5201 + fwrite(image, sizeof(ImageTypeBase), numChannels*width*height, imgout);
5207 +ImageType ImageUtils::allocateImage(int width, int height, int numChannels, short int border)
5210 + return (ImageType) calloc(width*height*numChannels+overallocation, sizeof(ImageTypeBase));
5390 + static void writeBinaryPPM(ImageType image, const char *filename, int width, int height, int numChannels = IMAGE_TYPE_NUM_CHANNELS);
5395 + static ImageType allocateImage(int width, int height, int numChannels, short int border = 0);
6695 + real numChannels; // Number of channels in input images