File: WTStruct.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 (42 lines) | stat: -rw-r--r-- 1,572 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

WTStruct(2)                    Scilab Function                    WTStruct(2)
NAME
  WTStruct - Retrieve a 1D Discrete Wavelet Structure.

  Author: Bertrand Guiheneuf

  This routine retrieves the structure informations contained in a 1D
  Wavelet Transform.

Usage
  [ScIndex, ScLength]=WT2DStruct(wt)

Input parameters
       o wt : real unidimensional matrix [1,n] Contains the wavelet transform
         (obtained with FWT).
Output parameters
       o index : real matrix [1,NbIter] Contains the indexes (in wt) of the
         projection of the signal on the multiresolution subspaces
       o length : real matrix [1,NbIter] 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).

Parameters
  Input must be a real matrix. It's generally obtained with FWT. It contains
  the wavelet transform.  index contains the indexes of the first coefficient
  of each output.  The first "NbIter" indexes are the indexes (in wt) of the
  "high-pass" subspaces projections (Wj), the last one is the last "low-pass"
  projection (Vj); length contains the dimension  of each output.

Example
  a=rand(1,256); q=MakeQMF('daubechies',4); wt = FWT2D(a,8,q); wti,
  wtl=WTStruct(wt); wtl
See Also
  FWT2D, IWT2D, WT2Dext, WT2DVisu