WAVDAUB4_CVIP
wavdaub4_cvip() - perform forward wavelet transform based on Daubechies wavelet.
Contents
SYNTAX
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.
DESCRIPTION
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.
REFERENCE
1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.
EXAMPLE
%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.
CREDITS
Author: Mehrdad Alvandipour, July 2017
Copyright © 2017-2018 Scott
E Umbaugh
For updates visit CVIP Toolbox Website