1% Generated by roxygen2: do not edit by hand 2% Please edit documentation in R/affine.R 3\name{wk_trans_affine} 4\alias{wk_trans_affine} 5\alias{wk_affine_identity} 6\alias{wk_affine_rotate} 7\alias{wk_affine_scale} 8\alias{wk_affine_translate} 9\alias{wk_affine_fit} 10\alias{wk_affine_rescale} 11\alias{wk_affine_compose} 12\alias{wk_affine_invert} 13\title{Affine transformer} 14\usage{ 15wk_trans_affine(trans_matrix) 16 17wk_affine_identity() 18 19wk_affine_rotate(rotation_deg) 20 21wk_affine_scale(scale_x = 1, scale_y = 1) 22 23wk_affine_translate(dx = 0, dy = 0) 24 25wk_affine_fit(src, dst) 26 27wk_affine_rescale(rct_in, rct_out) 28 29wk_affine_compose(...) 30 31wk_affine_invert(x) 32} 33\arguments{ 34\item{trans_matrix}{A 3x3 transformation matrix} 35 36\item{rotation_deg}{A rotation to apply in degrees counterclockwise.} 37 38\item{scale_x, scale_y}{Scale factor to apply in the x and y directions, respectively} 39 40\item{dx, dy}{Coordinate offsets in the x and y direction} 41 42\item{src, dst}{Point vectors of control points used to estimate the affine mapping 43(using \code{\link[base:qr]{base::qr.solve()}}).} 44 45\item{rct_in, rct_out}{The input and output bounds} 46 47\item{...}{Zero or more transforms in the order they should be applied.} 48 49\item{x}{A \code{\link[=wk_trans_affine]{wk_trans_affine()}}} 50} 51\description{ 52Affine transformer 53} 54