Skip to content

Distortion enum

Enum of built-in distortion names.

ts
enum Distortion {
  AFFINE = "Affine",
  AFFINE_PROJECTION = "AffineProjection",
  PERSPECTIVE = "Perspective",
  PERSPECTIVE_PROJECTION = "PerspectiveProjection",
  ARC = "Arc",
  POLYNOMIAL = "Polynomial",
}

Distortion descriptions

AFFINE

Affine distortion using control points.


AFFINE_PROJECTION

Affine distortion using forward affine matrix.


PERSPECTIVE

Perspective distortion using control points.


PERSPECTIVE_PROJECTION

Perspective distortion using forward perspective matrix.


ARC

Arc distortion.


POLYNOMIAL

Polynomial distortion