IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2007, 11:03:37 AM (19 years ago)
Author:
Paul Price
Message:

Adding boxcar/gaussian smoothing of overscan vector

File:
1 edited

Legend:

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

    r13901 r13921  
    1818
    1919    // Initialise options
    20     options->overscan = NULL;
    2120    options->nonLinearData = NULL;
    2221    options->nonLinearSource = NULL;
     
    5251
    5352    // Overscan defaults
    54     options->overscan      = NULL;      // Overscan options
     53    options->overscan   = NULL;      // Overscan options
    5554
    5655    // Fringe defaults
     
    162161        }
    163162
     163        int boxcar = psMetadataLookupS32(NULL, recipe, "OVERSCAN.BOXCAR");
     164        float gauss = psMetadataLookupF32(NULL, recipe, "OVERSCAN.GAUSS");
     165
    164166        // Fill in the options
    165         options->overscan = pmOverscanOptionsAlloc(overscanSingle, overscanFit, overscanOrder, overscanStats);
     167        options->overscan = pmOverscanOptionsAlloc(overscanSingle, overscanFit, overscanOrder,
     168                                                   overscanStats, boxcar, gauss);
    166169        psFree(overscanStats);
    167170    }
Note: See TracChangeset for help on using the changeset viewer.