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/pmSubtractionEquation.h

    r26577 r26739  
    1010    PM_SUBTRACTION_EQUATION_BG      = 0x02,
    1111    PM_SUBTRACTION_EQUATION_KERNELS = 0x04,
    12     PM_SUBTRACTION_EQUATION_ALL     = 0x05, // value should be NORM | BG | KERNELS
     12    PM_SUBTRACTION_EQUATION_ALL     = 0x07, // value should be NORM | BG | KERNELS
    1313} pmSubtractionEquationCalculationMode;
    1414
     
    2121                                         const pmSubtractionKernels *kernels, ///< Kernel parameters
    2222                                         int index, ///< Index of stamp
    23                                         const pmSubtractionEquationCalculationMode mode
     23                                        const pmSubtractionEquationCalculationMode mode
    2424    );
    2525
     
    2727bool pmSubtractionCalculateEquation(pmSubtractionStampList *stamps, ///< Stamps
    2828                                    const pmSubtractionKernels *kernels, ///< Kernel parameters
    29                                     const pmSubtractionEquationCalculationMode mode
     29                                    const pmSubtractionEquationCalculationMode mode
    3030    );
    3131
     
    3333bool pmSubtractionSolveEquation(pmSubtractionKernels *kernels, ///< Kernel parameters
    3434                                const pmSubtractionStampList *stamps, ///< Stamps
    35                                 const pmSubtractionEquationCalculationMode mode
     35                                const pmSubtractionEquationCalculationMode mode
    3636    );
    3737
Note: See TracChangeset for help on using the changeset viewer.