<< invtwo6 Integer_Wavelet_Transform_ToolBox invfour4 >>

Integer_Wavelet_Transform_ToolBox >> Integer_Wavelet_Transform_ToolBox > invtwo6m

invtwo6m

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

Calling Sequence

y = invtwo6m(a11,a12,d11,d12)
y = invtwo6m(a11,a12,d11,d12,o)

Arguments

a11

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

a12

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

d11

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

d12

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

o

A character constant 't' or 'c' specifying the types of filters used in the inverse transformation. By default, its value is 't'.

y

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

Description

It reconstucts an image from the given decomposed components using inverse (2,6) integer wavelet transform. It may take four or five parameters. The first four parameters corresponds to low-low, low-high, high-low, high-high components. The fifth parameter, if present, specifies the type of filters used for reconstruction. 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]=two6m(x);

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

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

See Also

Authors

<< invtwo6 Integer_Wavelet_Transform_ToolBox invfour4 >>