Back to FabImage Studio website

You are here: Start » Filter Reference » Region » Region Spatial Transforms » ShearRegion

ShearRegion


Module: FoundationBasic

Computes a leant region.

Name Type Range Description
Input value inRegion Region Input region
Input value inShear Real - - The relative shift of each consecutive row or column
Input value inAxis Axis Switches between shifting rows or columns
Output value outRegion Region Output region

Description

The filter ShearRegion applies basic affine transform to each regions's pixel.

Shear affine transform when X axis is selected:

\[ \left[\begin{array}{ccc} x' \\ y' \end{array} \right] = \left[\begin{array}{ccc} 1 & inShear \\ 0 & 1 \end{array} \right] \left[\begin{array}{ccc} x \\ y \end{array} \right] \]

Shear affine transform when Y axis is selected:

\[ \left[\begin{array}{ccc} x' \\ y' \end{array} \right] = \left[\begin{array}{ccc} 1 & 0\\ inShear & 1 \end{array} \right] \left[\begin{array}{ccc} x \\ y \end{array} \right] \]

Complexity Level

This filter is available on Advanced Complexity Level.

See Also

  • ShearImage – Computes a leant image (shifts the rows).