Main Page | Modules | Class List | Directories | File List | Class Members | File Members

image_channel.h File Reference

#include <gandalf/image/image_defs.h>

Go to the source code of this file.

Enumerations

enum  Gan_ImageChannelType {
  GAN_INTENSITY_CHANNEL, GAN_RED_CHANNEL, GAN_GREEN_CHANNEL, GAN_BLUE_CHANNEL,
  GAN_ALPHA_CHANNEL, GAN_X_CHANNEL, GAN_Y_CHANNEL, GAN_Z_CHANNEL,
  GAN_ALL_COLOUR_CHANNELS, GAN_ALL_CHANNELS
}
 Image channel types for extracting individual channels. More...

Functions

Gan_Imagegan_image_extract_channel_q (const Gan_Image *source, Gan_ImageChannelType channel, unsigned r0, unsigned c0, unsigned height, unsigned width, Gan_Image *dest)
 Extracts a specific channel from part of an image.
Gan_Bool gan_image_insert_channel (const Gan_Image *source, Gan_ImageChannelType schannel, Gan_Image *dest, Gan_ImageChannelType dchannel)
 Inserts a specific channel from one image into another.
Gan_Bool gan_image_fill_channel_const (Gan_Image *image, Gan_ImageChannelType channel, Gan_Pixel *pixel)
 Sets a single channel of an image to a constant value.
Gan_Bool gan_image_get_minimum_channel_value (Gan_Image *image, Gan_Image *mask, Gan_ImageChannelType channel, Gan_Pixel *minval)
 Finds the minimum value in the specified channel of an image.
Gan_Bool gan_image_get_maximum_channel_value (Gan_Image *image, Gan_Image *mask, Gan_ImageChannelType channel, Gan_Pixel *maxval)
 Finds the maximum value in the specified channel of an image.
Gan_Imagegan_image_extract_channel_s (const Gan_Image *source, Gan_ImageChannelType channel, unsigned r0, unsigned c0, unsigned height, unsigned width)
 Macro: Extracts a specific channel from part of an image.
Gan_Imagegan_image_fill_channel_zero (Gan_Image *image, Gan_ImageChannelType channel)
 Macro: Sets a single channel of an image to zero.


Detailed Description

Module: Extract/fill selected channel(s) of image

Part of: Gandalf Library

Version:
1.18
Date:
2005/04/12 13:06:43
Author:
pm
Copyright: (c) 2000 Imagineer Software Limited
Generated on Sat May 21 23:52:50 2005 by  doxygen 1.4.3