palXy2xy

Transform one [x,y] into another using a linear model of the type produced by the palFitxy routine

Description:

The model relates two sets of [x,y] coordinates as follows. Naming the elements of coeffs:

  coeffs[0] = A
  coeffs[1] = B
  coeffs[2] = C
  coeffs[3] = D
  coeffs[4] = E
  coeffs[5] = F

the present routine performs the transformation:

  x2 = A + B x1 + C y1
  y2 = D + E x1 + F y1

Invocation

palXy2xy ( double x1, double y1, double coeffs[6], double x2, double y2)

Arguments

x1 = double (Given)
x-coordinate
y1 = double (Given)
y-coordinate
coeffs = double[6] (Given)
transformation coefficients (see note)
x2 = double (Returned)
x-coordinate
y2 = double (Returned)
y-coordinate

See also

palFitxy, palPxy, palInvf and palDcmpf