IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#483 closed defect (fixed)

psPlaneTransform & Distort

Reported by: David.Robbins@… Owned by: Paul Price
Priority: high Milestone:
Component: PSLib SDRS Version: unspecified
Severity: normal Keywords:
Cc:

Description

Since we've done away with the psDPolynomial functions, the psPlaneTransform
struct needs changing (s7.2.1, p87-88).

Same goes for psPlaneDistort (p88)

Change History (3)

comment:1 by Paul Price, 21 years ago

Resolution: fixed
Status: newclosed

typedef struct {

psPolynomial2D *x;
psPolynomial2D *y;

} psPlaneTransform;

typedef struct {

psPolynomial4D *x;
psPolynomial4D *y;

} psPlaneDistort;

Also updated the definition of the polynomials, as we agreed in the last telecon:

typedef struct {

psPolynomialType type; /< Polynomial type
unsigned int n;
/< Number of terms
psF64 *coeff; /< Coefficients
psF64 *coeffErr;
/< Error in coefficients
char *mask; /< Coefficient mask

} psPolynomial1D;

with

psPolynomial1D *psPolynomial1DAlloc(psPolynomialType type,

unsigned int nX);

etc, up to 4D.

comment:2 by David.Robbins@…, 21 years ago

I was under the impression that we are no longer using unsigned int's in places
like this. Currently, they have all been changed back to signed.

comment:3 by Paul Price, 21 years ago

There is no need to address the array from the end, so the numbers are unsigned.

Note: See TracTickets for help on using tickets.