SpeedSix.LensCorrect   (Discreet Box97)



PURPOSE

Corrects for (or adds) lens distortion. It uses a model of lens distortion that includes symmetric (radial) and asymmetric (x and y curvature) distortions.

lenscorrecta.jpg lenscorrectb.jpg



INPUT CLIPS

 1: Clip to process



LensCorrect   CONTROL PAGE

Radial1  (Number  Min: -1.0, Max: 3.0, Default: 0.0)
     Primary radial distortion factor. This accounts for the majority of the symmetric distortion.

Radial2  (Number  Min: -1.0, Max: 3.0, Default: 0.0)
     Secondary radial distortion factor. This accounts for "extra" radial distortion near the lens edges.

XCurvature  (Number  Min: -1.0, Max: 1.0, Default: 0.0)
     Asymmetric distortion proportional to distance from the center along the X axis only. Usually significant only with lenses that squeeze the image along one axis.

YCurvature  (Number  Min: -1.0, Max: 1.0, Default: 0.0)
     Asymmetric distortion proportional to distance from the center along the Y axis only. Usually significant only with lenses that squeeze the image along one axis.

Centre  (Position  Default: 0.5,0.5)
     Position of the centre of the lens. Usually, this will be at the centre of the image.

Squeeze  (Number  Min: 0.5, Max: 5.0, Default: 1.0)
     Horizontal squeeze factor for the lens. Some lenses compress the image along one axis (X axis, usually) for use with some wide screen film formats.

Sampling  (List Box  Options: Nearest | Linear | Cubic | SharpCubic | BSpline, Default: SharpCubic)
Interpolation type to use when resampling the image.
Magnify  (Number  Min: 0.2, Max: 5.0, Default: 1.0)
     Magnification for the output image. This may well be required to avoid black at the edges when correcting for lens distortion.

LineEdit  (List Box  Options: No Action | Add Line | Delete Line | Move Point | Delete Point | Insert Point, Default: No Action)
Choose an editing action for creating or modifying the lines needed for automatic parameter estimation. You should draw a line along one or more features in the input image (e.g. while having View set to Input) that should be straight.
KillLines  (Pushbutton)
     Delete all the lines you have drawn for automatic parameter estimation.

AutoFind  (Pushbutton)
     Attempt to automatically set k1 and k2 from user supplied line data.

Mode  (List Box  Options: Remove | Add | Auto Remove, Default: Remove)
Apply distortion, remove distortion, or automatically remove distortion. Auto Remove will be selected automatically when you use the Auto button.
View  (List Box  Options: Result | Input, Default: Result)
Output the result image, or simply copy the input image.
Reset  (Pushbutton)
     Reset all controls to default values.

Index