env_pyr.h File Reference

#include "Envision/env_image.h"
#include "Envision/env_log.h"
Include dependency graph for env_pyr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  env_pyr
 This class implements a set of images, often used as a dyadic pyramid. More...

Defines

#define env_pyr_initializer   { 0, 0 }

Functions

static void env_pyr_init_empty (struct env_pyr *pyr)
 Construct an empty pyramid.
void env_pyr_init (struct env_pyr *pyr, const env_size_t n)
 Construct with a given number of empty images.
void env_pyr_make_empty (struct env_pyr *dst)
void env_pyr_copy_src_dst (const struct env_pyr *src, struct env_pyr *dst)
void env_pyr_swap (struct env_pyr *pyr1, struct env_pyr *pyr2)
 Swap contents with another env_pyr.
static env_size_t env_pyr_depth (const struct env_pyr *pyr)
 Return number of images in image set.
static struct env_imageenv_pyr_img (const struct env_pyr *pyr, const env_size_t lev)
 Get image from a given level.
static struct env_imageenv_pyr_imgw (struct env_pyr *pyr, const env_size_t lev)
 Get mutable image from a given level.

Detailed Description

Definition in file env_pyr.h.


Function Documentation

static env_size_t env_pyr_depth ( const struct env_pyr pyr  )  [inline, static]

Return number of images in image set.

Definition at line 99 of file env_pyr.h.

Referenced by env_pyr_build_lowpass_5().

static struct env_image * env_pyr_img ( const struct env_pyr pyr,
const env_size_t  lev 
) [static, read]

Get image from a given level.

Definition at line 105 of file env_pyr.h.

Referenced by env_motion_channel_input_and_consume_pyr(), env_pyr_build_lowpass_5(), and is_dyadic().

static struct env_image * env_pyr_imgw ( struct env_pyr pyr,
const env_size_t  lev 
) [static, read]

Get mutable image from a given level.

Definition at line 112 of file env_pyr.h.

Referenced by env_motion_channel_input_and_consume_pyr(), and env_pyr_build_lowpass_5().

void env_pyr_init ( struct env_pyr pyr,
const env_size_t  n 
)

Construct with a given number of empty images.

Definition at line 44 of file env_pyr.c.

References env_allocate().

Referenced by env_chan_color(), env_chan_orientation(), env_motion_channel_input_and_consume_pyr(), and env_mt_chan_orientation().

static void env_pyr_init_empty ( struct env_pyr pyr  )  [inline, static]

Construct an empty pyramid.

Definition at line 92 of file env_pyr.h.

void env_pyr_swap ( struct env_pyr pyr1,
struct env_pyr pyr2 
)

Swap contents with another env_pyr.

Definition at line 66 of file env_pyr.c.

Referenced by env_motion_channel_input_and_consume_pyr(), and env_mt_motion_channel_input_and_consume_pyr().

Generated on Sun May 8 08:42:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3