Changeset 6260 for trunk/ppImage/src/ppImageOptions.c
- Timestamp:
- Jan 30, 2006, 6:00:06 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageOptions.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageOptions.c
r6064 r6260 1 #include "ppImage.h" 1 #include <stdio.h> 2 #include "pslib.h" 3 #include "ppConfig.h" 4 #include "ppImageData.h" 5 #include "ppImageOptions.h" 6 7 static void imageOptionsFree(ppImageOptions *options) 8 { 9 psFree(options->overscan); 10 psFree(options->nonLinearData); 11 psFree(options->nonLinearSource); 12 } 13 14 ppImageOptions *ppImageOptionsAlloc(void) 15 { 16 ppImageOptions *options = psAlloc(sizeof(ppImageOptions)); 17 psMemSetDeallocator(options, (psFreeFunc)imageOptionsFree); 18 19 // Initialise options 20 options->overscan = NULL; 21 options->nonLinearData = NULL; 22 options->nonLinearSource = NULL; 23 24 return options; 25 } 26 2 27 3 28 // XXX EAM : this needs signficant work to choose the detrend images based on the detrend database 4 29 5 bool ppImageOptions (ppData *data, ppOptions *options, ppConfig *config)30 bool ppImageOptionsParse(ppImageData *data, ppImageOptions *options, ppConfig *config) 6 31 { 7 32
Note:
See TracChangeset
for help on using the changeset viewer.
