NAME

Panotools::Script::Line::Control - Panotools control-point

SYNOPSIS

A pair of control-points forms a 'c' line

DESCRIPTION

One line per point pair. about one pair of points per image per variable being optimized. The more variables being optimized the more control points needed.

n0           first image
N1           second image
x1066.5      first image x point position
y844.333     first image y point position
X239.52      second image x point position
Y804.64      second image y point position
t0           type of control point (optional)
               0 - normal (default)
               1 - optimize horizontally only
               2 - optimize vertically only
               3+ (all other numbers) - straight line

Get a simplified description of a control point useful for identifying duplicates like so:

print $point->Packed;

Format is first image, x, y, second image, x, y, point type

e.g: 2,123,456,3,234,567,0

Get a value for control point error distance (measured in pixels in the panorama output):

print $point->Distance ($pto);

Note that it is necessary to pass a Panotools::Script object to this method. Note also that the values returned are approximately half those returned by panotools itself, go figure.