skimage2.transform.matrix_transform#

skimage2.transform.matrix_transform(coords, matrix)[source]#

Apply 2D matrix transform.

Parameters:
coordsarray_like of shape (N, 2)

x, y coordinates to transform

matrixarray_like of shape (3, 3)

Homogeneous transformation matrix.

Returns:
coordsndarray of shape (N, 2)

Transformed coordinates.