<< invfour2 Integer_Wavelet_Transform_ToolBox invintdb2 >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > invfour2m

invfour2m

It performs the 2-d inverse of (4,2) integer wavelet transform

Calling Sequence

y = invfour2m(a11,a12,d11,d12)

Arguments

a11

A 2d-array or matrix representing the low-low component of an image decomposed using (4,4) integer wavelet transform.

a12

A 2d-array or matrix representing the low-high component of an image decomposed using (4,4) integer wavelet transform.

d11

A 2d-array or matrix representing the high-low component of an image decomposed using (4,4) integer wavelet transform.

d12

A 2d-array or matrix representing the high-high component of an image decomposed using (4,4) integer wavelet transform.

y

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

Description

It reconstucts an image from the given decomposed components using inverse (4,2) integer wavelet transform. The first four parameters corresponds to low-low, low-high, high-low, high-high components.The size of the reconstucted image is double the size of any of the decomposed components.

Examples

// Reading an image
x=imread('Lena.png');
x=double(x);
// Decompsing into components
[a11,a12,d11,d12]=four2m(x);

// Reconstruction from the decomposed components
y=invfour4(a11,a12,d11,d12);

// Displaying the reconstructed image
imshow(uint8(y))

See Also

Authors

<< invfour2 Integer_Wavelet_Transform_ToolBox invintdb2 >>