imwarpT

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 3.8, Creation date: 2017-05-10, Last change: 2025-09-14

warps an image related to a give transformation matrix



See Also: , VLwarpgrid , imageofVLprojection , implot

Example Illustration

 missing image of imwarpT(I,T,scal,cent,fc,al,

Syntax

h=imwarpT(I,[T,scal,cent,fc,al,"size"])

Input Parameter

I: image or image size [r c]
T: Transformation matrix
scal: scaling factor
cent: true if centered; default is false
fc: frame color such as 'b-'; default is '';
al: alpha value if the image should be transparent % in SG-Lib 5.2
"size": if used, the scaling factor is the size

Output Parameter

h: handle to image

Examples


I=imread('cameraman.tif');
imwarpT(I,TofR(rot(pi/6,pi/6,pi/6)));
imwarpT(I,TofR(rot(pi/6,pi/3,pi/6)));
SGfigure; imwarpT(I,TofR(rot(pi/6,pi/6,pi/6)),[0.1 0.1],true);
SGfigure; imwarpT(I,eye(4),[0.1 0.1],true,'b-'); show
SGfigure; imwarpT(I,eye(4),[0.1 0.1],true,'b-',0); show




Copyright 2017-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21