How can I increase the resolution?

4 visualizaciones (últimos 30 días)
Jia-Jyun Shen
Jia-Jyun Shen el 23 de Dic. de 2018
Comentada: Image Analyst el 23 de Dic. de 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 comentario
Image Analyst
Image Analyst el 23 de Dic. de 2018
What is the actual resolution? Can you do this after you display them
axis('image', 'on');

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Code Generation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by