IWALHAD_CVIP

iwalhad_cvip() - perform inverse Walsh/Hadamard transform.

Contents

SYNTAX

[ img ] = iwalhad_cvip( input_img, block_size )

Input Parameters Include:

Output Parameter Include:

Reference

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

Example

% Read image

 input_img = imread('Butterfly.tif');

% Block size

 block_size = 4;

% Calling  walhad function

 spect = walhad_cvip(input_img,block_size);

% Calling inverse walhad function

 v = iwalhad_cvip(spect,block_size);

 img = remap_cvip(v);

% Display input image

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

% Display output image

 figure;imshow(remap_cvip(log(1+abs(spect))),[]);title('Output Transformed Image');

 figure;imshow(img,[]);title('Output Inverse Transformed Image');

CREDITS

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