object RowTransform

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RowTransform
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def approximate(transform: Transform, errorThreshold: Double): RowTransform

    Computes an approximate transformation of a row.

    Computes an approximate transformation of a row.

    Based on GDALApproxTransform. Assumes that the number of elements in the row is greater than 5. Should only be used when the line being transformed is roughly linear.

    transform

    The transformation that we are approximating

    errorThreshold

    maximum error measured in input pixels that is allowed in approximating the transformation (0.0 for exact calculations).

    Note

    This algorithm does not garuntee all values will be within the error threshold of the exactly transformed values. In practice, as long as the line is roughly linear, it should be at least very close if over the error threshold away from the actual values.

  2. def exact(transform: Transform): RowTransform

    Transform each point exactly.

    Transform each point exactly. Assumes user has taken care to make all array dimensions equal.