#include <stdlib.h>
#include <math.h>
#include <grass/gis.h>
#include <grass/imagery.h>
#include <signal.h>
Go to the source code of this file.
|
#define | M(row, col) m->v[(((row) - 1) * (m->n)) + (col) - 1] |
|
#define | MSUCCESS 1 /* SUCCESS */ |
|
#define | MNPTERR 0 /* NOT ENOUGH POINTS */ |
|
#define | MUNSOLVABLE -1 /* NOT SOLVABLE */ |
|
#define | MMEMERR -2 /* NOT ENOUGH MEMORY */ |
|
#define | MPARMERR -3 /* PARAMETER ERROR */ |
|
#define | MINTERR -4 /* INTERNAL ERROR */ |
|
#define | MAXORDER 3 /* HIGHEST SUPPORTED ORDER OF TRANSFORMATION */ |
|
|
int | I_georef (double e1, double n1, double *e, double *n, double E[], double N[], int order) |
|
int | I_compute_georef_equations (struct Control_Points *cp, double E12[], double N12[], double E21[], double N21[], int order) |
|
#define M |
( |
|
row, |
|
|
|
col |
|
) |
| m->v[(((row) - 1) * (m->n)) + (col) - 1] |
◆ MAXORDER
#define MAXORDER 3 /* HIGHEST SUPPORTED ORDER OF TRANSFORMATION */ |
◆ MINTERR
#define MINTERR -4 /* INTERNAL ERROR */ |
◆ MMEMERR
#define MMEMERR -2 /* NOT ENOUGH MEMORY */ |
◆ MNPTERR
#define MNPTERR 0 /* NOT ENOUGH POINTS */ |
◆ MPARMERR
#define MPARMERR -3 /* PARAMETER ERROR */ |
◆ MSUCCESS
#define MSUCCESS 1 /* SUCCESS */ |
◆ MUNSOLVABLE
#define MUNSOLVABLE -1 /* NOT SOLVABLE */ |
◆ I_compute_georef_equations()
int I_compute_georef_equations |
( |
struct Control_Points * |
cp, |
|
|
double |
E12[], |
|
|
double |
N12[], |
|
|
double |
E21[], |
|
|
double |
N21[], |
|
|
int |
order |
|
) |
| |
◆ I_georef()
int I_georef |
( |
double |
e1, |
|
|
double |
n1, |
|
|
double * |
e, |
|
|
double * |
n, |
|
|
double |
E[], |
|
|
double |
N[], |
|
|
int |
order |
|
) |
| |