wavdaub4_cvip() - perform forward wavelet transform based on Daubechies wavelet.
out_mat = wavdaub4_cvip( img, dec )
Input Parameters Include :
- img - The orignial image which can be grayscale or RGB.
- dec - The decomposition level. An integer greater than or equal to 1.
Output Parameter Include :
- out_mat - The wavelet transform of the image using Daubechies 4 wavelet coefficients.
The function performs the forward wavelet transform on an input image based on the Daubechies transform. The Daubechies transform has different basis functions than that of Haar transform. As the decomposition level dec, given as input by the user, increases the resolution in the wavelet- Daubechies transform increases and as a result edge information increases. The decomposition is applied on the lowpass-lowpass verision of the image.
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
%Read Image a = imread('butterfly.tif'); b = double(a); % Decomposition level dec = 2; % Call function w = wavdaub4_cvip(b,dec); % Display input image figure;imshow(a);title('Input Image'); % Display output image figure;imshow(remap_cvip(log(1+abs(w))),);title('Output Image'); % tranforms for display.