Image Warping

Version 1.0.0.0 (893 Bytes) by Aisha
Image warping using bilinear interpolation
1.5K Downloads
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 (2024). Image Warping (https://www.mathworks.com/matlabcentral/fileexchange/48135-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!
Version Published Release Notes
1.0.0.0