<< intdb2 Integer_Wavelet_Transform_ToolBox cubicbspline >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > intdb2m

intdb2m

It performs Daubechies extremal phase wavelets 2D integer wavelet transform

Calling Sequence

[a11,a12,d11,d12] = intdb2m(x)

Arguments

x

A 2-d array or matrix representing the input image.

a11

A 2-d array representing the low-low component of the db integer wavelet transform of the input image.

a12

A 2-d array representing the low-high component of the db integer wavelet transform of the input image.

d11

A 2-d array representing the high-low component of the db integer wavelet transform of the input image.

d12

A 2-d array representing the high-high component of the db integer wavelet transform of the input image.

Description

It computes the integer wavelet components of an image using the db integer wavelet transforms.

Examples

//  Decomposition into integer wavelet components
//  Reading an image and getting a gray image matrix in double
x=imread('Lena.png');
x=double(rgb2gray(x));

// Applying (4,2) integer wavelet transform 
[a11,a12,d11,d12]=intdb2m(x);

//Displaying the four decomposed components 
imshow(mat2gray([a11 a12; d11 d12]))

See Also

Authors

<< intdb2 Integer_Wavelet_Transform_ToolBox cubicbspline >>