Changeset 13921
- Timestamp:
- Jun 20, 2007, 11:03:37 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
ippconfig/recipes/ppImage.config (modified) (1 diff)
-
ppImage/src/ppImageOptions.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippconfig/recipes/ppImage.config
r13909 r13921 43 43 OVERSCAN.ORDER S32 5 # Order of polynomial fit 44 44 OVERSCAN.STAT STR MEAN # MEAN | MEDIAN 45 OVERSCAN.BOXCAR S32 0 # Boxcar smoothing radius 46 OVERSCAN.GAUSS F32 0.0 # Gaussian smoothing sigma 45 47 46 48 # Fringe subtraction options -
trunk/ppImage/src/ppImageOptions.c
r13901 r13921 18 18 19 19 // Initialise options 20 options->overscan = NULL;21 20 options->nonLinearData = NULL; 22 21 options->nonLinearSource = NULL; … … 52 51 53 52 // Overscan defaults 54 options->overscan = NULL; // Overscan options53 options->overscan = NULL; // Overscan options 55 54 56 55 // Fringe defaults … … 162 161 } 163 162 163 int boxcar = psMetadataLookupS32(NULL, recipe, "OVERSCAN.BOXCAR"); 164 float gauss = psMetadataLookupF32(NULL, recipe, "OVERSCAN.GAUSS"); 165 164 166 // Fill in the options 165 options->overscan = pmOverscanOptionsAlloc(overscanSingle, overscanFit, overscanOrder, overscanStats); 167 options->overscan = pmOverscanOptionsAlloc(overscanSingle, overscanFit, overscanOrder, 168 overscanStats, boxcar, gauss); 166 169 psFree(overscanStats); 167 170 }
Note:
See TracChangeset
for help on using the changeset viewer.
