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.
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.