Info

此问题已关闭。 请重新打开它进行编辑或回答。

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 次查看(过去 30 天)
%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;

回答(0 个)

此问题已关闭。

产品

Community Treasure Hunt

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

Start Hunting!

Translated by