IDCT_CVIP

idct_cvip() - perform inverse discrete cosine transform.

Contents

SYNTAX

img = idct_cvip(input_spect,block_size)

Input Parameters include :

Output Parameters include :

DESCRIPTION

This function computes the inverse discrete cosine transform of the input image. The argument block_size should match the same value given for the forward transform. For more details look at the reference below.

REFERENCE

1. Scott E Umbaugh. DIGITAL IMAGE PROCESSING AND ANALYSIS: Applications with MATLAB and CVIPtools, 3rd Edition.

EXAMPLE

% Read Image

 I = imread('butterfly.tif');

% Calling  DCT function

 spect = dct_cvip( I,[] );

% Calling inverse DCT function

 I_hat = idct_cvip( spect,[] );

% Display input image

 figure;imshow(I);title('Input Image');

% Display output images

 figure;imshow(remap_cvip(log(1+abs(spect))));title('DCT output Image');

 figure; imshow(hist_stretch_cvip(I_hat,0,1,0,0));title('Output image after Idct transform');

CREDITS

Author: Mehrdad Alvandipour, March 2017
Copyright © 2017-2018 Scott E Umbaugh
For updates visit CVIP Toolbox Website