% Thus functions visualizes the 2D discrete wavelet transform of Lenna

% Note that this code requires the toolbox 'wavelab' to be available in MATLAB 
% (run the script "WavePath.m" to perform all initializations)


echo off, clc
clear all

close all;

colormap('gray');
I =  ReadImage('Lenna');
figure(1); imagesc(I);

%qmf = MakeONFilter('Haar');
%qmf = MakeONFilter('Daubechies',6);
qmf = MakeONFilter('Symmlet',6);
%qmf = MakeONFilter('Coiflet',4);

wc = FWT2_PO(I,1,qmf);
colormap('gray');
figure(2); image(wc);

  
