Transform


Data Structures

struct  _it_separable2D_
struct  _it_transform_
struct  _it_transform2D_
struct  _wavelet_lifting_
struct  _it_wavelet_
struct  _it_wavelet2D_

Defines

#define IT_SEPARABLE2D(x)   IT_CAST(it_separable2D_t, x)
#define it_separable2D_new(t)   __it_separable2D_new(IT_TRANSFORM(t))
#define it_separable2D_transform(t, m)   ((mat) it_transform2D(IT_SEPARABLE2D(t), m))
#define it_separable2D_itransform(t, m)   ((mat) it_itransform2D(IT_SEPARABLE2D(t), m))
#define IT_TRANSFORM(x)   IT_CAST(it_transform_t, x)
#define it_transform(t, v)   __it_transform(IT_TRANSFORM(t), (Vec) v)
#define it_itransform(t, V)   __it_itransform(IT_TRANSFORM(t), (Vec) V)
#define it_transform_get_output_size(t, l)   __it_transform_get_output_size(IT_TRANSFORM(t), l)
#define it_transform_set_size(t, l)   __it_transform_set_size(IT_TRANSFORM(t), l)
#define it_transform_get_size(t, l)   __it_transform_get_size(IT_TRANSFORM(t), l)
#define it_transform_clear_size(t)   it_transform_set_size(t, 0)
#define IT_TRANSFORM2D(x)   IT_CAST(it_transform2D_t, x)
#define it_transform2D(t, image)   __it_transform2D(IT_TRANSFORM2D(t), (Mat) image)
#define it_itransform2D(t, image)   __it_itransform2D(IT_TRANSFORM2D(t), (Mat) image)
#define it_transform2D_get_output_size(t, w, h)   __it_transform2D_get_output_size(IT_TRANSFORM2D(t, w, h))
#define it_transform2D_set_size(t, w, h)   __it_transform2D_set_size(IT_TRANSFORM2D(t), w, h)
#define it_transform2D_get_size(t, w, h)   __it_transform_get_size(IT_TRANSFORM2D(t), l)
#define it_transform2D_clear_size(t)   it_transform2D_set_size(t, 0, 0)
#define IT_WAVELET(x)   IT_CAST(it_wavelet_t, x)
#define it_wavelet_transform(t, v)   ((vec) it_transform(IT_WAVELET(t), (vec) v))
#define it_wavelet_itransform(t, v)   ((vec) it_itransform(IT_WAVELET(t), (vec) v))
#define IT_WAVELET2D(x)   IT_CAST(it_wavelet2D_t, x)
#define it_wavelet2D_copy(a, b)   a->copy(a, b)
#define it_wavelet2D_transform(t, m)   ((mat) it_transform2D(IT_WAVELET2D(t), m))
#define it_wavelet2D_itransform(t, m)   ((mat) it_itransform2D(IT_WAVELET2D(t), m))

Typedefs

typedef struct _it_separable2D_ it_separable2D_t
typedef struct _it_transform_ it_transform_t
typedef struct _it_transform2D_ it_transform2D_t
typedef struct _wavelet_lifting_ it_wavelet_lifting_t
typedef struct _it_wavelet_ it_wavelet_t
typedef struct _it_wavelet2D_ it_wavelet2D_t

Functions

 it_instanciate (it_separable2D_t)
static it_separable2D_t__it_separable2D_new (it_transform_t *transform)
mat it_separable2D (mat m, it_transform_t)
mat it_iseparable2D (mat t, it_transform_t)
static it_instanciate (it_transform_t)
static Vec __it_transform (it_transform_t *t, Vec v)
static Vec __it_itransform (it_transform_t *t, Vec V)
static void __it_transform_get_output_size (it_transform_t *t, idx_t *l)
static void __it_transform_set_size (it_transform_t *t, idx_t l)
static void __it_transform_get_size (it_transform_t *t, idx_t *l)
static it_instanciate (it_transform2D_t)
static Mat __it_transform2D (it_transform2D_t *t, Mat image)
static Mat __it_itransform2D (it_transform2D_t *t, Mat image)
static void __it_transform2D_get_output_size (it_transform2D_t *t, idx_t *w, idx_t *h)
static void __it_transform2D_set_size (it_transform2D_t *t, idx_t w, idx_t h)
static void __it_transform2D_get_size (it_transform2D_t *t, idx_t *w, idx_t *h)
 it_instanciate (it_wavelet_t)
static it_wavelet_tit_wavelet_new (it_wavelet_lifting_t const *lifting, int level)
vec it_dwt (vec v, it_wavelet_lifting_t const *lifting, int levels)
vec it_idwt (vec t, it_wavelet_lifting_t const *lifting, int levels)
vecit_wavelet_split (vec wav, int nb_levels)
vec it_wavelet_merge (vec *subbands, int nb_level)
 it_instanciate (it_wavelet2D_t)
static it_wavelet2D_tit_wavelet2D_new (it_wavelet_lifting_t const *lifting, int level)
mat it_dwt2D (mat m, it_wavelet_lifting_t const *lifting, int levels)
mat it_idwt2D (mat t, it_wavelet_lifting_t const *lifting, int levels)
matit_wavelet2D_split (mat wav, int nb_levels)
mat it_wavelet2D_merge (mat *subbands, int nb_level)

Variables

it_wavelet_lifting_t const * it_wavelet_lifting_97
it_wavelet_lifting_t const * it_wavelet_lifting_53

Detailed Description


Define Documentation

#define it_itransform ( t,
 )     __it_itransform(IT_TRANSFORM(t), (Vec) V)

Definition at line 68 of file transform.h.

Referenced by __it_separable2D_itransform(), and it_idwt().

#define it_itransform2D ( t,
image   )     __it_itransform2D(IT_TRANSFORM2D(t), (Mat) image)

Definition at line 69 of file transform2D.h.

Referenced by it_idwt2D(), and main().

#define IT_SEPARABLE2D (  )     IT_CAST(it_separable2D_t, x)

#define it_separable2D_itransform ( t,
 )     ((mat) it_itransform2D(IT_SEPARABLE2D(t), m))

Definition at line 59 of file separable2D.h.

#define it_separable2D_new (  )     __it_separable2D_new(IT_TRANSFORM(t))

Definition at line 52 of file separable2D.h.

Referenced by main().

#define it_separable2D_transform ( t,
 )     ((mat) it_transform2D(IT_SEPARABLE2D(t), m))

Definition at line 58 of file separable2D.h.

#define it_transform ( t,
 )     __it_transform(IT_TRANSFORM(t), (Vec) v)

Definition at line 63 of file transform.h.

Referenced by __it_separable2D_transform(), and it_dwt().

#define IT_TRANSFORM (  )     IT_CAST(it_transform_t, x)

Definition at line 56 of file transform.h.

Referenced by it_instanciate().

#define it_transform2D ( t,
image   )     __it_transform2D(IT_TRANSFORM2D(t), (Mat) image)

Definition at line 64 of file transform2D.h.

Referenced by it_dwt2D(), and main().

#define IT_TRANSFORM2D (  )     IT_CAST(it_transform2D_t, x)

Definition at line 57 of file transform2D.h.

Referenced by it_instanciate().

#define it_transform2D_clear_size (  )     it_transform2D_set_size(t, 0, 0)

Definition at line 95 of file transform2D.h.

Referenced by __it_wavelet2D_itransform(), and __it_wavelet2D_transform().

#define it_transform2D_get_output_size ( t,
w,
 )     __it_transform2D_get_output_size(IT_TRANSFORM2D(t, w, h))

Definition at line 74 of file transform2D.h.

#define it_transform2D_get_size ( t,
w,
 )     __it_transform_get_size(IT_TRANSFORM2D(t), l)

Definition at line 88 of file transform2D.h.

#define it_transform2D_set_size ( t,
w,
 )     __it_transform2D_set_size(IT_TRANSFORM2D(t), w, h)

#define it_transform_clear_size (  )     it_transform_set_size(t, 0)

Definition at line 90 of file transform.h.

Referenced by __wavelet_itransform(), and __wavelet_transform().

#define it_transform_get_output_size ( t,
 )     __it_transform_get_output_size(IT_TRANSFORM(t), l)

Definition at line 73 of file transform.h.

Referenced by __separable2D_get_output_size().

#define it_transform_get_size ( t,
 )     __it_transform_get_size(IT_TRANSFORM(t), l)

Definition at line 85 of file transform.h.

Referenced by __separable2D_get_size().

#define it_transform_set_size ( t,
 )     __it_transform_set_size(IT_TRANSFORM(t), l)

#define IT_WAVELET (  )     IT_CAST(it_wavelet_t, x)

#define IT_WAVELET2D (  )     IT_CAST(it_wavelet2D_t, x)

#define it_wavelet2D_copy ( a,
 )     a->copy(a, b)

Definition at line 62 of file wavelet2D.h.

#define it_wavelet2D_itransform ( t,
 )     ((mat) it_itransform2D(IT_WAVELET2D(t), m))

Definition at line 65 of file wavelet2D.h.

Referenced by main().

#define it_wavelet2D_transform ( t,
 )     ((mat) it_transform2D(IT_WAVELET2D(t), m))

Definition at line 64 of file wavelet2D.h.

Referenced by main().

#define it_wavelet_itransform ( t,
 )     ((vec) it_itransform(IT_WAVELET(t), (vec) v))

Definition at line 72 of file wavelet.h.

#define it_wavelet_transform ( t,
 )     ((vec) it_transform(IT_WAVELET(t), (vec) v))

Definition at line 71 of file wavelet.h.


Typedef Documentation

typedef struct _it_wavelet_ it_wavelet_t


Function Documentation

static Vec __it_itransform ( it_transform_t t,
Vec  V 
) [inline, static]

Definition at line 69 of file transform.h.

References _it_transform_::itransform.

static Mat __it_itransform2D ( it_transform2D_t t,
Mat  image 
) [inline, static]

Definition at line 70 of file transform2D.h.

References _it_transform2D_::itransform.

static it_separable2D_t* __it_separable2D_new ( it_transform_t transform  )  [inline, static]

Definition at line 53 of file separable2D.h.

References it_new_va, and it_va.

static Vec __it_transform ( it_transform_t t,
Vec  v 
) [inline, static]

Definition at line 64 of file transform.h.

References _it_transform_::transform.

static Mat __it_transform2D ( it_transform2D_t t,
Mat  image 
) [inline, static]

Definition at line 65 of file transform2D.h.

References _it_transform2D_::transform.

static void __it_transform2D_get_output_size ( it_transform2D_t t,
idx_t w,
idx_t h 
) [inline, static]

Definition at line 76 of file transform2D.h.

References _it_transform2D_::get_output_size.

static void __it_transform2D_get_size ( it_transform2D_t t,
idx_t w,
idx_t h 
) [inline, static]

Definition at line 90 of file transform2D.h.

References _it_transform2D_::get_size.

static void __it_transform2D_set_size ( it_transform2D_t t,
idx_t  w,
idx_t  h 
) [inline, static]

Definition at line 83 of file transform2D.h.

References _it_transform2D_::set_size.

static void __it_transform_get_output_size ( it_transform_t t,
idx_t l 
) [inline, static]

Definition at line 75 of file transform.h.

References _it_transform_::get_output_size.

static void __it_transform_get_size ( it_transform_t t,
idx_t l 
) [inline, static]

Definition at line 86 of file transform.h.

References _it_transform_::get_size.

static void __it_transform_set_size ( it_transform_t t,
idx_t  l 
) [inline, static]

Definition at line 81 of file transform.h.

References _it_transform_::set_size.

vec it_dwt ( vec  v,
it_wavelet_lifting_t const *  lifting,
int  levels 
)

Definition at line 469 of file wavelet.c.

References it_delete, it_transform, and it_wavelet_new().

Referenced by main().

mat it_dwt2D ( mat  m,
it_wavelet_lifting_t const *  lifting,
int  levels 
)

Definition at line 989 of file wavelet2D.c.

References it_delete, it_transform2D, and it_wavelet2D_new().

vec it_idwt ( vec  t,
it_wavelet_lifting_t const *  lifting,
int  levels 
)

Definition at line 483 of file wavelet.c.

References it_delete, it_itransform, and it_wavelet_new().

Referenced by main().

mat it_idwt2D ( mat  t,
it_wavelet_lifting_t const *  lifting,
int  levels 
)

Definition at line 1003 of file wavelet2D.c.

References it_delete, it_itransform2D, and it_wavelet2D_new().

static it_instanciate ( it_transform2D_t   )  [inline, static]

Definition at line 59 of file transform2D.h.

References it_construct, and it_set_magic.

static it_instanciate ( it_transform_t   )  [inline, static]

Definition at line 58 of file transform.h.

References it_construct, and it_set_magic.

mat it_iseparable2D ( mat  t,
it_transform_t   
)

mat it_separable2D ( mat  m,
it_transform_t   
)

mat it_wavelet2D_merge ( mat subbands,
int  nb_level 
)

Definition at line 957 of file wavelet2D.c.

References mat_height(), mat_new(), mat_set_submatrix(), and mat_width().

static it_wavelet2D_t* it_wavelet2D_new ( it_wavelet_lifting_t const *  lifting,
int  level 
) [inline, static]

Definition at line 58 of file wavelet2D.h.

References it_new_va, and it_va.

Referenced by it_dwt2D(), it_idwt2D(), and main().

mat* it_wavelet2D_split ( mat  wav,
int  nb_levels 
)

Definition at line 925 of file wavelet2D.c.

References mat_get_submatrix(), mat_height(), and mat_width().

vec it_wavelet_merge ( vec subbands,
int  nb_level 
)

Definition at line 446 of file wavelet.c.

References vec_length(), vec_new(), and vec_set_subvector().

static it_wavelet_t* it_wavelet_new ( it_wavelet_lifting_t const *  lifting,
int  level 
) [inline, static]

Definition at line 66 of file wavelet.h.

References it_new_va, and it_va.

Referenced by it_dwt(), it_idwt(), and main().

vec* it_wavelet_split ( vec  wav,
int  nb_levels 
)

Definition at line 424 of file wavelet.c.

References vec_get_subvector(), and vec_length().


Variable Documentation

Definition at line 48 of file wavelet.c.

Referenced by main().

Definition at line 40 of file wavelet.c.

Referenced by main().


Hosted by
Copyright (C) 2005-2006 Hervé Jégou
Vivien Chappelier
Francois Cayre
libit logo courtesy of Jonathan Delhumeau