An affine transformation UGen for image rotation, scaling, translation, shearing.
It uses either a sinc-based band-limited resampling algorithm, or
bicubic interpolation, depending on the zeroCrossings
parameter.
All window defining parameters (widthIn
, heightIn
, widthOut
, heightOut
)
are polled once per matrix. All matrix and filter parameters are polled one per
output pixel.
- Value Params
- heightIn
the height (number of rows) of the input matrix
- heightOut
the height (number of rows) of the output matrix. the special value zero (default) means it is the same as
heightIn
.- in
the signal to resample
- kaiserBeta
the FIR windowing function's parameter
- m00
coefficient of the first column of the first row (scale-x)
- m01
coefficient of the second column of the first row (shear-x)
- m02
coefficient of the third column of the first row (translate-x)
- m10
coefficient of the first column of the second row (shear-y)
- m11
coefficient of the second column of the second row (scale-y)
- m12
coefficient of the third column of the second row (translate-y)
- rollOff
the FIR anti-aliasing roll-off width. Between zero and one.
- widthIn
the width (number of columns) of the input matrix
- widthOut
the width (number of columns) of the output matrix. the special value zero (default) means it is the same as
widthIn
.- wrap
if non-zero, wraps coordinates around the input images boundaries. TODO: currently
wrap = 0
is broken if using sinc interpolation!- zeroCrossings
the number of zero-crossings in the truncated and windowed sinc FIR. If zero, algorithm uses bicubic interpolation instead.
- See also
- Companion
- object