Analysis: Signal Processing: Wavelet: 2D Decompose
Perform 2D wavelet decomposition
This feature is for OriginPro only.
1. dwt2 im:=Mat(1);
2. dwt2 type:=db3;
Please refer to the page for additional option switches when accessing the x-function from script
Input
MatrixObject
Specify the input matrix
int
Specify the mother wavelet
Option list
Output
Specify the output matrix for approximation coefficients See the syntax here.
Specify the output matrix for horizontal detail coefficients See the syntax here.
Specify the output matrix for vertical detail coefficients See the syntax here.
Specify the output matrix for diagonal detail coefficients
See the syntax here.
1. To decompose the 1st matrix object in the 1st sheet of MBook1 using DB2 wavelet and save the result to different matrices, use the following script command:
dwt2 im:=[MBook1]1!Mat(1) type:=1 ca:=[MBook2]1!Mat(1) ch:= [MBook2]2!Mat(1) cv:= [MBook2]3!Mat(1) cd:= [MBook5]1!Mat(1);
2. To open the dwt2 dialog, use the script command:
dwt2 -d
3. To perform dwt2 to data using a pre-saved analysis theme file, save your preferences in the advanced options in the dwt2 dialog, and then execute it by typing (for example, but using your own saved-theme title) the script command:
dwt2 -t "my theme.oth"
For more information, please refer to our User Guide.
idwt2, dwt, idwt
Keywords:decompose