%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
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Image Processing Toolbox > Geometric Transformation and Image Registration >
- MATLAB > Graphics > Images > Read, Write, and Modify Image >
- Image Processing and Computer Vision > Computer Vision Toolbox > Point Cloud Processing > Display Point Clouds >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |