Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

during the up-sampling process of my compressed image. the dimension of output is doubled . that is if input image is of resolution 1200*200 output image is of resolution 2400*400.please help me find out the mistake

1 view (last 30 days)
%code for upsampling w = r*2; h = c*2 ; temp=zeros(w,h); y(1:2:w,1:2:h) = Val; y(2:2:w,2:2:h) = Val; y(1:2:w,2:2:h) = Val; y(2:2:w,1:2:h) = Val;
V=y;

Answers (0)

This question is closed.

Products

Community Treasure Hunt

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

Start Hunting!