Skip to content

wavelib-nonfftw-vs dwt_2d_sym runtime error #13

Description

@msububble

Hello, rafat!

Thank you for sharing the library managing different kinds of wavelets!
I compiled the wavelib-nonfftw-vs part with VS2017 for Windows 10 to .dll and came over the 'read access violation error' while calling dwt_2d_sym(.., ...) in snow.jpg example, db3 wavelet.

I actually entered wavelet2d.cpp and found out that during the call of 'dwt1_sym_m()' the function 'convfftm()' is, in its turn, called twice without the static variable 'transient_size_of_fft' reset.
I took the risk of adding line 1440: transient_size_of_fft = 0; to wavelet2d.cpp, and thus managed to get the visualisation of the wavelet transform of the snow picture same as at http://wavelet2d.sourceforge.net/.

Hope this is helpful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions