Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psPolynomialUtils.h

Go to the documentation of this file.
00001 /** @file  psPolynomialUtils.h
00002  *
00003  * extra psPolynomial-related functions
00004  */
00005 
00006 #ifndef PS_POLYNOMIAL_UTILS_H
00007 #define PS_POLYNOMIAL_UTILS_H
00008 
00009 #include "psVector.h"
00010 #include "psImage.h"
00011 #include "psCoord.h"
00012 #include "psStats.h"
00013 #include "psPolynomial.h"
00014 
00015 // perform vector clip-fit based on significance of deviations
00016 psPolynomial4D *psVectorChiClipFitPolynomial4D(
00017     psPolynomial4D *poly,               // Polynomial to fit
00018     psStats *stats,                     // Statistics to use in clipping
00019     const psVector *mask,               // Mask for input values
00020     psMaskType maskValue,               // Mask value
00021     const psVector *f,                  // Value of the function, f(x,y,z,t)
00022     const psVector *fErr,               // Error in the value
00023     const psVector *x,                  // x ordinate
00024     const psVector *y,                  // y ordinate
00025     const psVector *z,                  // z ordinate
00026     const psVector *t                   // t ordinate
00027 );
00028 
00029 // fit a 2D 2nd order polynomial to the 9 pixels centered on (x,y)
00030 psPolynomial2D *psImageBicubeFit(const psImage *image, // Image to fit
00031                                  int x, int y // Pixels of centre of fit
00032                                 );
00033 
00034 // detemine the min(max) of the special 2D 2nd order polynomial
00035 psPlane psImageBicubeMin(const psPolynomial2D *poly // The polynomial
00036                         );
00037 
00038 #endif /* PS_POLY_UTILS_H */

Generated on Mon Jul 3 14:13:44 2006 for Pan-STARRS Foundation Library by  doxygen 1.4.4