image thumbnail

Image Warping

version (893 Bytes) by Aisha
Image warping using bilinear interpolation


Updated 16 Oct 2014

View License

%This function warps an image onto another within corner points using the
% homography matrix H
% Input Parameters : frame - image on which another image is to be warped
% imgToEmbed - image to be warped on frame
% H - Homography matrix
% cornerPts - corner points on frame in which warped
% image will be embed
% Output Parameters: warpedImg - final image after warping
Usage: warpedImg=imwarp( markerImage, imageToEmbed,H, vector1);

where vector1 is of meanpoints given in following format:
vector1= [ meanPoints(1,1) meanPoints(1,2);meanPoints(2,1) meanPoints(2,2); meanPoints(3,1) meanPoints(3,2); meanPoints(4,1) meanPoints(4,2)];

This function succesfully warps one image onto another. The only problem is that it takes 1.xx seconds in warping single image. I need some improvement in it to make it fast. Can anyone help me??

Cite As

Aisha (2021). Image Warping (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!