<< imfuse Image Registration and Image Fusion imphasecorr >>

IPCV >> Image Registration and Image Fusion > imgettransform

imgettransform

Get transformation matrix from given source and destination points

Syntax

mat = imgettransform(src,tgt)

Parameters

src :

Source points

tgt :

Target points

tf_type :

Transformation type, affine or perspective

mat :

Transformation matrix

Description

This functions create the transformation matrix for affine and perspective transform operation.

Examples

src = [261 412; 170 348; 213 282];
tgt = [175 412; 170 308; 251 308];
mat = imgettransform(src,tgt,'affine')

See also

Authors


Report an issue
<< imfuse Image Registration and Image Fusion imphasecorr >>