IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2010, 7:34:39 PM (16 years ago)
Author:
eugene
Message:

updates from eam_branches/20091201 (substantially changes to the kernel matching code; updates to pmDetection container, added pmPattern, etc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionEquation.h

    r19299 r26893  
    44#include "pmSubtractionStamps.h"
    55#include "pmSubtractionKernels.h"
     6
     7typedef enum {
     8    PM_SUBTRACTION_EQUATION_NONE    = 0x00,
     9    PM_SUBTRACTION_EQUATION_NORM    = 0x01,
     10    PM_SUBTRACTION_EQUATION_BG      = 0x02,
     11    PM_SUBTRACTION_EQUATION_KERNELS = 0x04,
     12    PM_SUBTRACTION_EQUATION_ALL     = 0x07, // value should be NORM | BG | KERNELS
     13} pmSubtractionEquationCalculationMode;
    614
    715/// Execute a thread job to calculate the least-squares equation for a stamp
     
    1220bool pmSubtractionCalculateEquationStamp(pmSubtractionStampList *stamps, ///< Stamps
    1321                                         const pmSubtractionKernels *kernels, ///< Kernel parameters
    14                                          int index ///< Index of stamp
    15                                     );
     22                                         int index, ///< Index of stamp
     23                                         const pmSubtractionEquationCalculationMode mode
     24    );
    1625
    1726/// Calculate the least-squares equation to match the image quality
    1827bool pmSubtractionCalculateEquation(pmSubtractionStampList *stamps, ///< Stamps
    19                                     const pmSubtractionKernels *kernels ///< Kernel parameters
    20                                     );
     28                                    const pmSubtractionKernels *kernels, ///< Kernel parameters
     29                                    const pmSubtractionEquationCalculationMode mode
     30    );
    2131
    2232/// Solve the least-squares equation to match the image quality
    2333bool pmSubtractionSolveEquation(pmSubtractionKernels *kernels, ///< Kernel parameters
    24                                 const pmSubtractionStampList *stamps ///< Stamps
     34                                const pmSubtractionStampList *stamps, ///< Stamps
     35                                const pmSubtractionEquationCalculationMode mode
    2536    );
    2637
    2738/// Calculate deviations
    2839psVector *pmSubtractionCalculateDeviations(pmSubtractionStampList *stamps, ///< Stamps
    29                                            const pmSubtractionKernels *kernels ///< Kernel parameters
     40                                           pmSubtractionKernels *kernels ///< Kernel parameters
    3041    );
    3142
Note: See TracChangeset for help on using the changeset viewer.