object RowTransform
- Alphabetic
- By Inheritance
- RowTransform
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
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.
-
def
exact(transform: Transform): RowTransform
Transform each point exactly.
Transform each point exactly. Assumes user has taken care to make all array dimensions equal.