필터 지우기
필터 지우기

downsampling image

조회 수: 3 (최근 30일)
Max
Max 2011년 10월 8일
댓글: juveria fatima 2018년 3월 14일
hello
i have an original image of size 288x360 ..i need to perform the decomposition of this image into constituent polyphase components of 144x180 frames..
please suggest some way in matlab to do it..
presently i am tring it with gtdecomp command without any success..

채택된 답변

Wayne King
Wayne King 2011년 10월 8일
Hi, You can use dyaddown() from the Wavelet Toolbox.
x = randn(8,8);
% this gives you 1st row, 1st column, 3rd row, 3rd colum, etc
y = dyaddown(x,'m',1);
% now this gives you 2nd row, 2nd column, etc
y = dyaddown(x,'m',0);
Or you can use downsample() from the Signal Processing Toolbox. This gives you one polyphase matrix.
Y = downsample(x,2,0);
Y = (downsample(Y',2,0))';
This gives you the other:
Y1 = downsample(x,2,1);
Y1 = (downsample(Y1',2,1))';
Hope that helps,
Wayne
  댓글 수: 2
Max
Max 2011년 10월 8일
yes it worked ..and now i have the downsampled images too. thank you so much Wayne
juveria fatima
juveria fatima 2018년 3월 14일
downsampling will loose the image data
what is the efficient way to compress image with out data loss

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

SK Ahsan
SK Ahsan 2016년 4월 12일
How Many Different Techniques Are Applied To Downsample An Image? Can Any One Elaborate It?

카테고리

Help CenterFile Exchange에서 Denoising and Compression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by