File: WT2DStruct.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (44 lines) | stat: -rw-r--r-- 1,656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44

WT2DStruct(2)                  Scilab Function                  WT2DStruct(2)
NAME
  WT2DStruct - Retrieve the Structure of a 2D DWT

  Author: Bertrand Guiheneuf

  This routine retrieve the structure informations contained in a 2D Wavelet
  Transform.

Usage
  [ScIndex, ScLength]=WT2DStruct(wt)

Input parameters
       o wt : real unidimensional matrix [m,n] Contains the wavelet transform
         (obtained with FWT2D).
Output parameters
       o index : real matrix [NbIter,4] Contains the indexes (in wt) of the
         projection of the signal on the multiresolution subspaces
       o length : real matrix [NbIter,2] Contains the dimensions of each pro-
         jection
Description

Introduction
  This routine is used to retreive the structure information of a wavelet
  transform. It must be used in all routine that might work on a wavelet
  transform whose structure is not passed as an imput parameter. (That should
  be the case of all routines taking a Wavelet Transform as input parameter
  to minimize the input).see FWT2D.

Parameters
  Input must be a real matrix. It's generally obtained with FWT2D. It con-
  tains the wavelet transform.  index contains the indexes of the first coef-
  ficient of each output. At each scale Scale, the output indexes are:
  index(Scale,1) : HL index(Scale,2) : LH index(Scale,3) : HH index(Scale,4)
  : LL on the last scale and 0 otherwise length contains the dimensions
  (height, width) of each output at a given Iteration.

Example
  a=rand(256,256); q=MakeQMF('daubechies',4); wt = FWT2D(a,8,q); (a few days
  pass...) wti, wtl=WT2DStruct(wt); wtl

See Also
  FWT2D, IWT2D, WT2Dext, WT2DVisu