#include <gandalf/image/image_defs.h>
Go to the source code of this file.
Compounds | |
struct | Gan_ImagePyramid |
Structure to hold image and mask at a single pyramid level. More... | |
Typedefs | |
typedef Gan_ImagePyramid | Gan_ImagePyramid |
Structure to hold image and mask at a single pyramid level. | |
typedef enum Gan_ImagePyramidAverage | Gan_ImagePyramidAverage |
Type of averaging used when combining four pixels into one. | |
Enumerations | |
enum | Gan_ImagePyramidAverage { GAN_AVERAGE_ALL, GAN_AVERAGE_IN_MASK } |
Type of averaging used when combining four pixels into one. More... | |
Functions | |
Gan_Bool | gan_image_pyramid_build (Gan_Image *img, Gan_Image *mask, unsigned no_levels, Gan_ImagePyramidAverage average_type, unsigned no_neighbours, Gan_ImagePyramid **pyramid) |
Builds an image pyramid. | |
void | gan_image_pyramid_free (Gan_ImagePyramid *pyramid, unsigned no_levels, Gan_Bool free_top_level) |
Frees an image pyramid. |
Part of: Gandalf Library
Revision: Last edited: Author:
Copyright: (c) 2000 Imagineer Software Limited
|
Type of averaging used when combining four pixels into one.
|
|
Builds an image pyramid.
NULL, the pyramid is built without masks, i.e. assuming that all the pixels are valid.
no_neighbours is the least number of number of pixels in any four-pixel neighbourhood of mask pixels needed to be one in order for the lower resolution mask to be set to one.
|
|
Frees an image pyramid.
|