How can I increase the resolution?
4 views (last 30 days)
Show older comments
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
on 23 Dec 2018
What is the actual resolution? Can you do this after you display them
axis('image', 'on');
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!