IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13921


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

Adding boxcar/gaussian smoothing of overscan vector

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippconfig/recipes/ppImage.config

    r13909 r13921  
    4343OVERSCAN.ORDER          S32     5               # Order of polynomial fit
    4444OVERSCAN.STAT           STR     MEAN            # MEAN | MEDIAN
     45OVERSCAN.BOXCAR         S32     0               # Boxcar smoothing radius
     46OVERSCAN.GAUSS          F32     0.0             # Gaussian smoothing sigma
    4547
    4648# Fringe subtraction options
  • 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.