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 #76540 is a reply to message #76509] Thu, 16 June 2011 10:17 Go to previous messageGo to previous message
Konstantinos is currently offline  Konstantinos
Messages: 29
Registered: April 2011
Junior Member
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
[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:01:49 PDT 2025

Total time taken to generate the page: 0.00377 seconds