IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 29, 2010, 6:02:38 PM (16 years ago)
Author:
Paul Price
Message:

Fairly extensive change to make subtractions more stable on images with limited lit area in the presence of spatial variation. Took the polynomials which were scaled over the entire image and scale them only over the lit area. Removed some fprintf statements. Fixed the problem causing the background term to always come out 1.0.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/imcombine/pmSubtraction.h

    r25279 r26739  
    127127    );
    128128
     129/// Return normalised coordinates
     130void p_pmSubtractionPolynomialNormCoords(
     131    float *xOut, float *yOut,           ///< Normalised coordinates, returned
     132    float xIn, float yIn,               ///< Input coordinates
     133    int xMin, int xMax, int yMin, int yMax ///< Bounds of validity
     134    );
     135
    129136/// Given (normalised) coordinates (x,y), generate a matrix where the elements (i,j) are x^i * y^j
    130137psImage *p_pmSubtractionPolynomial(psImage *output, ///< Output matrix, or NULL
     
    138145psImage *p_pmSubtractionPolynomialFromCoords(psImage *output, ///< Output matrix, or NULL
    139146                                             const pmSubtractionKernels *kernels, ///< Kernel parameters
    140                                              int numCols, int numRows, ///< Size of image of interest
    141147                                             int x, int y ///< Position of interest
    142148    );
Note: See TracChangeset for help on using the changeset viewer.