diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2015-07-08 20:46:52 -0400 |
commit | fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch) | |
tree | bdda434976bc09c864f2e4fa6f16ba1952b1e555 /pkg/images/lib/xyxymatch.h | |
download | iraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz |
Initial commit
Diffstat (limited to 'pkg/images/lib/xyxymatch.h')
-rw-r--r-- | pkg/images/lib/xyxymatch.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkg/images/lib/xyxymatch.h b/pkg/images/lib/xyxymatch.h new file mode 100644 index 00000000..50e44e74 --- /dev/null +++ b/pkg/images/lib/xyxymatch.h @@ -0,0 +1,35 @@ +# The definitions file for the LINXYMATCH task + +# Define the matching algorithms + +define RG_MATCHSTR "|tolerance|triangles|" +define RG_TOLERANCE 1 # Match by tolerance only +define RG_TRIANGLES 2 # Match by triangles + +# Define the reference and input files types + +define RG_REFFILE 1 # The input reference coordinate file +define RG_INFILE 2 # The input coordinate file + +# Define some useful constants + +define MAX_NTIE 3 # Maximum number of tie points +define MAX_NCOEFF 6 # Maximum number of coefficients +define DEF_BUFSIZE 1000 # The default buffer size +define SZ_TRIINDEX 6 # Number of triangle indices to save. +define SZ_TRIPAR 5 # Number of triangle parameters + +# Define the structure of the internal arrays used by the trangles algorithm + +define RG_INDEX 1 # Sort index +define RG_X1 2 # Vertex 1 +define RG_X2 3 # Vertex 2 +define RG_X3 4 # Vertex 3 +define RG_CC 5 # Counterclockwise ? +define RG_MATCH 6 # Match index + +define RG_LOGP 1 # Log of the perimeter +define RG_RATIO 2 # Ratio of longest to shortest side +define RG_COS1 3 # Cos of angle at vertex 1 +define RG_TOLR 4 # Tolerance in the ratio +define RG_TOLC 5 # Tolerance in the cosine |