How can I increase the resolution?

4 Ansichten (letzte 30 Tage)
Jia-Jyun Shen
Jia-Jyun Shen am 23 Dez. 2018
Kommentiert: Image Analyst am 23 Dez. 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 Kommentar
Image Analyst
Image Analyst am 23 Dez. 2018
What is the actual resolution? Can you do this after you display them
axis('image', 'on');

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by