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
See Also: imwarpT
, SGdemoulding
, SGof2Dfunc
[VL,XL,YL,ZL]=VLwarpgrid([siz,T,scal,cent,isgeo])
siz: | image or image size [r c] | |
T: | Transformation matrix | |
scal: | scaling factor | |
cent: | if true; image is centred; default is false | |
isgeo: | if true color is height in z; default is false |
VL: | Vertex list | |
XL: | warp grid X | |
YL: | warp grid Y | |
ZL: | warp grid Z |
I=imread('cameraman.tif');
VLwarpgrid(I,TofR(rot(pi/6,0,0)));
fname='/Users/lueth/Downloads/737_5284.tiff'; [A,R,cmap] = readgeoraster(filename);
A=imread(filename);
VLwarpgrid(A,'','','',true);