ia m trying to zigzagscan lena image am not getting its inverse

1 view (last 30 days)
i am using this code
https://in.mathworks.com/matlabcentral/fileexchange/15317-zigzag-scan
am not getting the exact inverse
A= imread('lena1.jpg');
in= A(:,:,1);
output_zigzag = zigzag(in);
vmax = size(in, 1);
hmax = size(in, 2);
output_izigzag = uint8(izigzag(in, vmax, hmax));
please help me out in getting the zigzag inverse

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!