Mostrar comentarios más antiguos
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
Más respuestas (0)
Categorías
Más información sobre Geometric Transformation and Image Registration en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!