IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2012, 6:07:30 PM (14 years ago)
Author:
watersc1
Message:

Implementation of PATTERN.CONTINUITY correction, which replaces the PATTERN.CELL correction and ensures that the cell-to-cell variations are minimized, and that background fitting code has a smooth background to work with. Includes ippconfig files to enable this by default across all of GPC1. Tested, and memory leaks fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImageOptions.c

    r31066 r33243  
    3434    options->doPatternRow    = false;   // Row pattern correction
    3535    options->doPatternCell   = false;   // Cell pattern correction
     36    options->doPatternContinuity = false; // Cell continuity correction
    3637    options->doFringe        = false;   // Fringe subtraction
    3738    options->doPhotom        = false;   // Source identification and photometry
     
    253254    options->doPatternRow = psMetadataLookupBool(NULL, recipe, "PATTERN.ROW");
    254255    options->doPatternCell = psMetadataLookupBool(NULL, recipe, "PATTERN.CELL");
     256    options->doPatternContinuity = psMetadataLookupBool(NULL, recipe, "PATTERN.CONTINUITY");
    255257
    256258    options->doMaskStats = psMetadataLookupBool(NULL, recipe, "MASK.STATS");
     
    408410    }
    409411
     412    if (psMetadataLookup(format, "PATTERN.CONTINUITY.WIDTH")) {
     413      options->patternContinuityEdgeWidth = psMetadataLookupS32(NULL, format, "PATTERN.CONTINUITY.WIDTH");
     414    }
     415    else {
     416      options->patternContinuityEdgeWidth = psMetadataLookupS32(NULL, recipe, "PATTERN.CONTINUITY.WIDTH");
     417    }
     418   
    410419
    411420    // Remnance options
Note: See TracChangeset for help on using the changeset viewer.