IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 13, 2007, 4:14:30 PM (19 years ago)
Author:
Paul Price
Message:

Adding enhancement to extract the pixels for each stamp from the image, so that pmSubtractionCalculateEquation doesn't need to look at the input image (so I can later put in a fake target PSF). The stamps are extracted as 'kernels' so that offsets need not be performed.

File:
1 edited

Legend:

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

    r14455 r14480  
    44#include <pslib.h>
    55
     6#include "pmSubtractionKernels.h"
    67
    78/// Status of stamp
     
    1718typedef struct {
    1819    int x, y;                           ///< Position
     20    float xNorm, yNorm;                 ///< Normalised position
     21    psKernel *reference;                ///< Reference image postage stamp
     22    psKernel *input;                    ///< Input image postage stamp
     23    psKernel *weight;                   ///< Weight image postage stamp
    1924    psImage *matrix;                    ///< Associated matrix
    2025    psVector *vector;                   ///< Assoicated vector
     
    3136    );
    3237
     38/// Extract stamps from the images
     39bool pmSubtractionExtractStamps(psArray *stamps, ///< Stamps
     40                                psImage *reference, ///< Reference image
     41                                psImage *input, ///< Input image (or NULL)
     42                                psImage *weight, ///< Weight (variance) map
     43                                int footprint, ///< Stamp footprint size
     44                                const pmSubtractionKernels *kernels ///< Kernel basis functions (for size)
     45    );
    3346
    3447#endif
Note: See TracChangeset for help on using the changeset viewer.