hi,
I have making image morphing with two image.I wrote some script but I don't know how can use warp for deforming image 1 to image 2, please help me
pic1=imread('james.jpg')
pic2=imread('jenny.jpg')
cpselect(pic1,pic2)
p1=cp5.inputPoints;
p2=cp5.basePoints;
tri1=DelaunayTri(p1(:,1),p1(:,2));
tri2=DelaunayTri(p2(:,1),p2(:,2));
[x,y]=meshgrid(p1(:,:),p2(:,:));
p3=[p1,p2];
zi=griddata(p1(:,:),p2(:,:),p3(:,:),x,y);

 Respuesta aceptada

Sean de Wolski
Sean de Wolski el 27 de Jun. de 2013

0 votos

doc imwarp
?

1 comentario

sanaz
sanaz el 28 de Jun. de 2013
means I use imwarp after griddata? I don't know imwarp

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Etiquetas

Preguntada:

el 27 de Jun. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by