1PTOSORT(1)            User Contributed Perl Documentation           PTOSORT(1)
2
3
4

NAME

6       ptosort - sort pto files with variable criteria
7

SYNOPSIS

9       ptosort [options] infile.pto outfile.pto
10
11        Options:
12         -p | --point order    Provide a sorting order for control points
13         -i | --image order    Provide a sorting order for images
14         -c | --clean yes/no   Switch removal of duplicate control points
15                               on/off, default is on
16         -h | --help           Show the full manpage
17

DESCRIPTION

19       ptosort takes a pto file as input, sorts it and writes a sorted pto
20       file as output. By default images are sorted according to their
21       filename and control points are sorted by left image number, right
22       image number and y pixel coordinate.
23
24       The --point and --image command line options can be used to modify the
25       sorting order. The order string should consist of a list letters
26       separated by commas identifying the values to be taken for the
27       comparison, e.g. for images y means yaw or r means roll. By default
28       sorting for yaw (y), pitch (p), roll (r) and exposure (Eev) is fuzzy,
29       i.e. values within an interval of 10 degress for yaw are considered to
30       be the same. This is especially useful when sorting multirow panoramas.
31       Appending a colon to the sort parameter forces strict sorting without
32       fuzziness, while appending a tilde and a numerical value can be used to
33       specify the fuzziness in terms of intervall width.
34

EXAMPLES

36       ptosort --image n --point n,N,y in.pto out.pto
37            Sort the images by filename and the control points by left image
38            number, right image number and y pixel coordinate. This is
39            identical to the default behaviour without options.
40
41       ptosort --image y in.pto out.pto
42            Sort images by yaw and control points using the default.
43
44       ptosort --image y,p,Eev in.pto out.pto
45            Sort images in a multiraw panorama by position and exposure value.
46
47       ptosort --image Eev:,y~5.5,p in.pto out.pto
48            Sort strict without fuzziness by exposure value, with a fuzziness
49            interval of 5.5 degree by yaw and by pitch.
50

LICENSE

52       This program is free software; you can redistribute it and/or modify it
53       under the terms of the GNU General Public License as published by the
54       Free Software Foundation; either version 2 of the License, or (at your
55       option) any later version.
56

AUTHOR

58       Felix Hagemann, July 2008
59
60
61
62perl v5.28.2                      2014-03-02                        PTOSORT(1)
Impressum