#include <stdarg.h>#include <gandalf/image/image_defs.h>#include <gandalf/image/image_gl_uchar.h>#include <gandalf/image/image_gl_short.h>#include <gandalf/image/image_gl_ushort.h>#include <gandalf/image/image_gl_int.h>#include <gandalf/image/image_gl_uint.h>#include <gandalf/image/image_gl_float.h>#include <gandalf/image/image_gl_double.h>#include <gandalf/image/image_bit.h>#include <gandalf/image/image_pointer.h>#include <gandalf/image/image_gla_uchar.h>#include <gandalf/image/image_gla_short.h>#include <gandalf/image/image_gla_ushort.h>#include <gandalf/image/image_gla_int.h>#include <gandalf/image/image_gla_uint.h>#include <gandalf/image/image_gla_float.h>#include <gandalf/image/image_gla_double.h>#include <gandalf/image/image_rgb_uchar.h>#include <gandalf/image/image_rgb_short.h>#include <gandalf/image/image_rgb_ushort.h>#include <gandalf/image/image_rgb_int.h>#include <gandalf/image/image_rgb_uint.h>#include <gandalf/image/image_rgb_float.h>#include <gandalf/image/image_rgb_double.h>#include <gandalf/image/image_rgba_uchar.h>#include <gandalf/image/image_rgba_short.h>#include <gandalf/image/image_rgba_ushort.h>#include <gandalf/image/image_rgba_int.h>#include <gandalf/image/image_rgba_uint.h>#include <gandalf/image/image_rgba_float.h>#include <gandalf/image/image_rgba_double.h>#include <gandalf/image/image_vfield2D_float.h>#include <gandalf/image/image_vfield2D_double.h>#include <gandalf/image/image_vfield2D_short.h>#include <gandalf/image/image_vfield2D_int.h>#include <gandalf/image/image_vfield3D_float.h>#include <gandalf/image/image_vfield3D_double.h>#include <gandalf/image/image_vfield3D_short.h>#include <gandalf/image/image_vfield3D_int.h>#include <gandalf/image/image_extract.h>#include <gandalf/common/bit_array.h>#include <gandalf/common/misc_error.h>Functions | |
| Gan_Image * | gan_image_form_gen (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data, void *pix_data, size_t pix_data_size, void *row_data, size_t row_data_size) |
| Form image. | |
| Gan_Bool | gan_image_set_data_free_func (Gan_Image *img, void(*data_free_func)(void *)) |
| Sets the function to free the image data buffer. | |
| size_t | gan_image_pixel_size (Gan_ImageFormat format, Gan_Type type) |
| Returns the size of an image pixel in bytes. | |
| size_t | gan_image_min_stride (Gan_ImageFormat format, Gan_Type type, unsigned long width, size_t alignment) |
| Returns the minimum size of a row of image pixels in bytes. | |
| Gan_Image * | gan_image_set_format_type_dims_gen (Gan_Image *img, Gan_ImageFormat format, Gan_Type type, unsigned long height, unsigned long width, unsigned long stride, Gan_Bool alloc_pix_data) |
| Sets the format, type, dimensions and stride of an image. | |
| Gan_Bool | gan_image_fill_const (Gan_Image *img, Gan_Pixel *pixel) |
| Fill an image with a constant value. | |
| Gan_Bool | gan_image_fill_zero (Gan_Image *img) |
| Fills an image with zero pixels. | |
| Gan_Bool | gan_image_fill_const_window (Gan_Image *img, unsigned r0, unsigned c0, unsigned height, unsigned width, Gan_Pixel *pixel) |
| Fill a subwindow of an image. | |
| Gan_Pixel | gan_image_get_pix (Gan_Image *img, unsigned row, unsigned col) |
| Gets a pixel from an image. | |
| void * | gan_image_get_pixptr (Gan_Image *img, unsigned row, unsigned col) |
| Gets a pointer to a pixel from an image. | |
| Gan_Bool | gan_image_get_pix_zero (Gan_Image *img, unsigned row, unsigned col) |
| Gets a pixel from an image and compares it with zero. | |
| Gan_Bool | gan_image_set_pix (Gan_Image *img, unsigned row, unsigned col, Gan_Pixel *pix) |
| Sets a pixel in an image. | |
| Gan_Bool | gan_image_set_pix_zero (Gan_Image *img, unsigned row, unsigned col) |
| Sets a pixel in an image to zero. | |
| Gan_Bool | gan_image_get_active_subwindow (Gan_Image *image, Gan_ImageWindow *subwin) |
| Computes bounding box of non-zero pixels in grey-level image. | |
| Gan_Bool | gan_image_mask_window (Gan_Image *image, unsigned r0, unsigned c0, unsigned height, unsigned width) |
| Clear image to zero except in specified rectangular region. | |
| void | gan_image_free_va (Gan_Image *img,...) |
Free a NULL-terminated variable argument list of images. | |
Part of: Gandalf Library
Revision: Last edited: Author:
Copyright: (c) 2000 Imagineer Software Limited
1.3-rc1