필터 지우기
필터 지우기

I want to interpolate extracted ROI. Please help me with coding.

조회 수: 2 (최근 30일)
mounika siripurapu
mounika siripurapu 2016년 1월 17일
댓글: mounika siripurapu 2016년 1월 19일
p= imread('knee.jpg');
figure;
imshow(p);
img = imcrop;
k=imshow(img);
imwrite(k,'knee2.jpg');
z=imread('knee2.jpg');
figure;
[x,y]=meshgrid(1:256,1:256);
a=2;
for i=1:256;
for j=1:256;
x1(i,j)=a*x(i,j);
y1(i,j)=y(i,j)/a;
end
end
% Do the interpolation
z1=interp2(x,y,z,x1,y1,'bilinear');
imshow(z1);
  댓글 수: 4
John D'Errico
John D'Errico 2016년 1월 19일
Linear interpolation will not improve image quality. That only works in the TV shows, where you can blow up a single pixel into a readable picture of a license plate. Any problems that were in the original will still be there, with sometimes new artifacts introduced.
mounika siripurapu
mounika siripurapu 2016년 1월 19일
Thank you. But what type of interpolation method can be used to improve the quality of an image by increasing number of pixels. Kindly provide me coding if possible.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by