How can I increase the resolution?

조회 수: 4 (최근 30일)
Jia-Jyun Shen
Jia-Jyun Shen 2018년 12월 23일
댓글: Image Analyst 2018년 12월 23일
Hi
I used the function cpselect to choose the FixedPoints and MovingPoints, and then I used imwarp to transform the image.
Here is the code I used:
a=imread('123.jpg');
h=cpselect('123.jpg','123.jpg');
%%
mytform=fitgeotrans(fixedPoints,movingPoints,'projective');
r=dir('*.jpg');
for i=1:numel(r)
R=r(i);
Q=fullfile(R.folder, R.name);
T=imread(Q);
t=imwarp(T,mytform);
figure,imshow(t);
end
After transforming, the resolution decreased and many details lost.
I wonder how can I improve it, thank you very much!
The original image:
The controling points I choose:
The final image:
  댓글 수: 1
Image Analyst
Image Analyst 2018년 12월 23일
What is the actual resolution? Can you do this after you display them
axis('image', 'on');

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by