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

Home » Public Forums » archive » Re: 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
Re: wavelet using wv_dwt [message #76509] Fri, 17 June 2011 22:07 Go to previous message
Lavanya is currently offline  Lavanya
Messages: 7
Registered: August 2010
Junior Member
On Jun 16, 10:17 pm, Konstantinos <moonlightsha...@hotmail.gr> wrote:
> If i understand what you want I will propose yoy this piece of code
>
> pro wavelet_for_forum
>
>     x1 = read_tiff(filepath('image.tif',subdir =
> ['examples','data']))
>     z=128
>     x = congrid(x1, z,z ,/cubic)
>
>     info = wv_fn_daubechies(2, wavelet, scaling,ioff, joff)
>     wv_dwtpartial = wv_dwt(x,wavelet,scaling,ioff,joff, N_LEVELS = 2)
>
>     LL2=wv_dwtpartial[0:z/4-1,0:z/4-1]
>
>     tv, LL2
>
> end
>
> LL2 stands for the LL component of the second level
>
> IF you want wavelet code more than what ITTVIS provides (eg a trous,
> or Daubechies 7/9 wavelet etc) and without the limnitation of the
> image been of the type: image[2^n, 2^n] (eg image[240, 458] without
> the need of congrid) ask me
>
> Kostas

Thanks Kostas, that works perfectly for me.

Please tell me on how to make the wavelet code work when the image is
not ^2. Is there a better way to use congrid?


-
Thanks
Lavanya
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Looking for more elegant plot scaling...
Next Topic: Shapefile Opening Error

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

Current Time: Wed Oct 08 19:03:00 PDT 2025

Total time taken to generate the page: 0.00180 seconds