IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 10, 2007, 11:31:25 AM (19 years ago)
Author:
Paul Price
Message:

Candidate stamps (or stamp regions, if no stamp list is provided) for the region are now generated in a single step before the iteration is performed.

File:
1 edited

Legend:

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

    r14801 r14802  
    6767
    6868/// Find stamps on an image
    69 pmSubtractionStampList *pmSubtractionFindStamps(pmSubtractionStampList *stamps, ///< Output stamps, or NULL
     69pmSubtractionStampList *pmSubtractionStampsFind(pmSubtractionStampList *stamps, ///< Output stamps, or NULL
    7070                                                const psImage *image, ///< Image for which to find stamps
    7171                                                const psImage *mask, ///< Mask, or NULL
     
    7979/// We may optionally apply an exclusion zone around each star --- this is important when we're convolving to
    8080/// a specified PSF; less so when we're only trying to get a good subtraction.
    81 pmSubtractionStampList *pmSubtractionSetStamps(const psVector *x, ///< x coordinates for each stamp
     81pmSubtractionStampList *pmSubtractionStampsSet(const psVector *x, ///< x coordinates for each stamp
    8282                                               const psVector *y, ///< y coordinates for each stamp
    8383                                               const psVector *flux, ///< Flux for each stamp, or NULL
     
    8686                                               const psRegion *region, ///< Region to search, or NULL
    8787                                               float spacing, ///< Rough spacing for stamps
    88                                                int exclusionZone // Exclusion zone around each star
     88                                               int exclusionZone ///< Exclusion zone around each star
     89    );
     90
     91///
     92pmSubtractionStampList *pmSubtractionStampsSetFromSources(
     93    const psArray *sources, ///< Sources for each stamp
     94    const psImage *subMask, ///< Mask, or NULL
     95    const psRegion *region, ///< Region to search, or NULL
     96    float spacing, ///< Rough spacing for stamps
     97    int exclusionZone ///< Exclusion zone around each star
    8998    );
    9099
    91100/// Extract stamps from the images
    92 bool pmSubtractionExtractStamps(pmSubtractionStampList *stamps, ///< Stamps
     101bool pmSubtractionStampsExtract(pmSubtractionStampList *stamps, ///< Stamps
    93102                                psImage *reference, ///< Reference image
    94103                                psImage *input, ///< Input image (or NULL)
     
    99108
    100109/// Generate target for stamps based on list
    101 bool pmSubtractionGenerateStamps(pmSubtractionStampList *stamps, ///< Stamps
     110bool pmSubtractionStampsGenerate(pmSubtractionStampList *stamps, ///< Stamps
    102111                                 float fwhm, ///< FWHM for each stamp
    103112                                 int footprint, ///< Stamp footprint size
Note: See TracChangeset for help on using the changeset viewer.