comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » wavelet using wv_dwt
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
wavelet using wv_dwt [message #76549] Thu, 16 June 2011 02:10
Lavanya is currently offline  Lavanya
Messages: 7
Registered: August 2010
Junior Member
Hi

i am trying to decompose an image into its wavelet coefficients
(approximate LL and detailed ones LH, HL, HH). I used the following
code decompose the image into scaling and wavelet coeffs at level 2
decomposition. After that i am not able to proceed further. Please
suggest ways of getting these coefficients or i am approaching the
problem in a wrong way

PRO test
x1 = read_tiff(filepath('image.tif',subdir = ['examples','data']))

x = congrid(x1, 128,128 ,/cubic)

info = wv_fn_daubechies(2, wavelet, scaling,ioff, joff)
wv_dwtpartial = wv_dwt(x,wavelet,scaling,ioff,joff, N_LEVELS = 2)

wv_level1 = wv_pwt(x,wavelet,scaling, ioff, joff)
w_scaling1 = wv_level1[0:n/2-1]
w_wavelet1 = wv_level1[n/2:*]

similarily, obtained scaling and wavelet for 2nd level.

Please tell me how to get the sub bands of the image and display it
[Message index]
 
Read Message
Previous Topic: spherical harmonics
Next Topic: Re: cgPlot: /ISOTROPIC clobbers POSITION

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:32:57 PDT 2025

Total time taken to generate the page: 0.31896 seconds