This file defines the basic types for astronomical coordinate transformation
Definition in file psCoord.h.
#include "psType.h"
#include "psImage.h"
#include "psArray.h"
#include "psList.h"
#include "psPolynomial.h"
#include "psPixels.h"
#include "psRegion.h"
Include dependency graph for psCoord.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Data Structures | |
| struct | psPlane |
| Euclidiean Coordinate System. More... | |
| struct | psSphere |
| Angular Coordinate System. More... | |
| struct | psCube |
| 3-Dimensional Euclidean Coordinate System More... | |
| struct | psPlaneTransform |
| 2D Polynomial Transform More... | |
| struct | psPlaneDistort |
| 4D Polynomial Transform More... | |
| struct | psProjection |
| Parameter set for projection/deprojection. More... | |
Defines | |
| #define | PS_PRINT_PLANE_TRANSFORM(NAME) |
Enumerations | |
| enum | psProjectionType { PS_PROJ_LIN, PS_PROJ_PLY, PS_PROJ_WRP, PS_PROJ_TAN, PS_PROJ_DIS, PS_PROJ_SIN, PS_PROJ_STG, PS_PROJ_ZEA, PS_PROJ_ZPL, PS_PROJ_AIT, PS_PROJ_PAR, PS_PROJ_GLS, PS_PROJ_CAR, PS_PROJ_MER, PS_PROJ_NTYPE } |
| Projection type for projection/deprojection. More... | |
Functions | |
| psPlane * | psPlaneAlloc (void) |
| Allocates a psPlane. | |
| psSphere * | psSphereAlloc (void) |
| Allocates a psSphere. | |
| psCube * | psCubeAlloc (void) |
| Allocates a psCube. | |
| psPlaneTransform * | psPlaneTransformAlloc (int order1, int order2) |
| Allocates a psPlaneTransform transform. | |
| psPlane * | psPlaneTransformApply (psPlane *out, const psPlaneTransform *transform, const psPlane *coords) |
| Applies the psPlaneTransform transform to a specified coordinate. | |
| psPlaneDistort * | psPlaneDistortAlloc (int order1, int order2, int order3, int order4) |
| Allocates a psPlaneDistort transform. | |
| psPlane * | psPlaneDistortApply (psPlane *out, const psPlaneDistort *distort, const psPlane *coords, float mag, float color) |
| Applies the psPlaneDistort transform to a specified coordinate. | |
| psProjection * | psProjectionAlloc (double R, double D, double Xs, double Ys, psProjectionType type) |
| Allocates memory for a psProjection structure. | |
| bool | psMemCheckPlane (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckSphere (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckCube (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckPlaneTransform (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckPlaneDistort (psPtr ptr) |
| Checks the type of a particular pointer. | |
| bool | psMemCheckProjection (psPtr ptr) |
| Checks the type of a particular pointer. | |
| psPlane * | psProject (psPlane *out, const psSphere *coord, const psProjection *projection) |
| Projects a spherical coordinate to a linear coordinate system. | |
| psSphere * | psDeproject (psSphere *outSphere, const psPlane *coord, const psProjection *projection) |
| Reverse projection of a linear coordinate to a spherical coordinate system. | |
| psPlaneTransform * | p_psPlaneTransformLinearInvert (psPlaneTransform *transform) |
| Takes a given transform and inverts it linearly if possible. | |
| psBool | p_psIsProjectionLinear (psPlaneTransform *transform) |
| Takes a transform and tests whether or not it is a linear projection. | |
| psPlaneTransform * | psPlaneTransformInvert (psPlaneTransform *out, const psPlaneTransform *in, psRegion region, int nSamples) |
| inverts a given transformation. | |
| psPlaneTransform * | psPlaneTransformCombine (psPlaneTransform *out, const psPlaneTransform *trans1, const psPlaneTransform *trans2, psRegion region, int nSamples) |
| Creates a single transformation that has the effect of performing trans1 followed by trans2. | |
| bool | psPlaneTransformFit (psPlaneTransform *trans, const psArray *source, const psArray *dest, int nRejIter, float sigmaClip) |
| takes two arrays containing matched coordinates and returns the best-fitting transformation. | |
| psSphere * | psCubeToSphere (const psCube *cube) |
| Converts from a 3-dimensional coordinate system to an angular coordinate system. | |
| psCube * | psSphereToCube (const psSphere *sphere) |
| Converts from an angular coordinate system to a 3-dimensional coordinate system. | |
| psPlane * | psPlaneTransformDeriv (psPlane *out, const psPlaneTransform *transformation, const psPlane *coord) |
| Calculates the derivative of the specified psPlaneTransform with respect to x and y. | |
| psPixels * | psPixelsTransform (psPixels *out, const psPixels *input, const psPlaneTransform *inToOut) |
| Generates a list of pixels in the output coordinate frame that overlap the input pixels in the input coordinate frame through the specified transformation, inToOut. | |
| char * | psProjectTypeToString (psProjectionType type, char *prefix) |
| psProjectionType | psProjectTypeFromString (char *name) |
1.5.1