How can I increase the resolution?

4 views (last 30 days)
Jia-Jyun Shen
Jia-Jyun Shen on 23 Dec 2018
Commented: Image Analyst on 23 Dec 2018
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 Comment
Image Analyst
Image Analyst on 23 Dec 2018
What is the actual resolution? Can you do this after you display them
axis('image', 'on');

Sign in to comment.

Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!