## SYNTAX

[ img ] = iwalhad_cvip( input_img, block_size )

Input Parameters Include:

• input_spect - The Walsh/Hadamard spectrum of an image, obtained by walhad_CVIP().
• block_size - Should be a power of 2 or [].if empty,then functions finds the nearest power of 2 and zero pad the image,to that block size.Any other value smaller than image size will partiotion the image to windows of that block size and inverse WHT will be calculated separately in each window.

Output Parameter Include:

• img - The original image with the given spectrum.

## Reference

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

## Example

```% Read image

% Block size

block_size = 4;

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');
```
{"ft_lang_label":"__label__en","ft_lang_prob":0.6131245,"math_prob":0.91388637,"size":1353,"snap":"2021-31-2021-39","text_gpt3_token_len":348,"char_repetition_ratio":0.11860637,"word_repetition_ratio":0.0,"special_character_ratio":0.24094604,"punctuation_ratio":0.16888888,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9639294,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,1,null,1,null,1,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-07-25T06:46:26Z\",\"WARC-Record-ID\":\"<urn:uuid:f2630d94-ca1e-44be-be50-b9c3f69ab8eb>\",\"Content-Length\":\"9407\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:62dcff16-0651-4fd5-bfba-472409f1cd43>\",\"WARC-Concurrent-To\":\"<urn:uuid:63f69ae6-bcb6-4d17-946c-d70ea68d056b>\",\"WARC-IP-Address\":\"146.163.252.209\",\"WARC-Target-URI\":\"https://cviptools.ece.siue.edu/downloads/CVIPhtml/iwalhad_cvip.html\",\"WARC-Payload-Digest\":\"sha1:CGYZ46HBBN7VMCDONXIM4GH2FMIAZU22\",\"WARC-Block-Digest\":\"sha1:6DSOPH2UXUWGBPLWE2F46OASUSIJLL7O\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-31/CC-MAIN-2021-31_segments_1627046151638.93_warc_CC-MAIN-20210725045638-20210725075638-00281.warc.gz\"}"}