affineFit
Declaration
fun affineFit( source: Size, srcOrientation: Orientation, target: Size, tgtOrientation: Orientation ): Matrix
Summary
Returns
An affine transformation matrix that fits the source into the target.
Parameters
| Name | Type | Summary |
|---|---|---|
| source | Size | The size of the source container in pixels. |
| srcOrientation | Orientation | The orientation of the source container. |
| target | Size | The size of the target container in pixels. |
| tgtOrientation | Orientation | The orientation of the target container. |
Returns an affine transformation that maps normalized coordinates
in the source frame to normalized coordinates in the target frame.