Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hi, #16

Open
sunyyhyzx opened this issue Sep 10, 2019 · 1 comment
Open

Hi, #16

sunyyhyzx opened this issue Sep 10, 2019 · 1 comment

Comments

@sunyyhyzx
Copy link

Hi,

“getDWTRecCoeff” reconstructs the signal on a specific branch by
setting all other branch values to zero.

getDWTRecCoeff(double *coeff, int *length, const char *ctype, const
char *ext, int level, int J, double *lpr, double *hpr, int lf, int
siglength, double *reccoeff)

Here the two important inputs are ctype (values "appx" and "det") and
level which determine the branch to be reconstructed. One application
of getDWTRecCoeff is to obtain Multiresolution Analysis at a specific
branch that is synced with the output.

For example, one level periodic decomposition of a length 256 signal
will yield two length 128 approximation and detail signals. These
signals aren't very useful for direct eyeball analysis as their
lengths aren't the same as that of the input. You can build length 256
signal at both branches using getDWTRecCoeff.

I will soon add more documentation about this and 2D functionality
that I have implemented recently.

Rafat

On 5/21/19, sunyyhyzx notifications@github.com wrote:

Hi Rafat,

I do not konw the “getDWTRecCoeff” function very much. I can not find any
help for this function. can you give me an explanatory note to
Function“getDWTRecCoeff”?

And can you give an simple eample for using this function?

Any help much appreciated.

Thanks,

--Yanyun Sun From China

--

You are receiving this because you are subscribed to this thread.

Reply to this email directly or view it on GitHub:

#14

Originally posted by @rafat in #14 (comment)

@sunyyhyzx
Copy link
Author

Hi,
Thank you for your warmly reply. I am a student, and now using your open code to learn the wavelet decomposition. I use function "modwt2(wt, inp)" to deconpose a grid named X and obtain the "wavecoeffs", Then I can use the function "getWT2Coeffs(wt, wavecoeffs, J, "A", &ir, &ic)" to obtain the approximation coeffs which has the same size with the input grid X. But I do not want obtain the coeffs , I want the reconstructed Wavelet Approximation Approximation throug the approximation coeffs, which function should I use?
Any help much appreciated.
Thank you very much! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant