Changeset 14000 for trunk/ppImage/src/ppImageLoop.c
- Timestamp:
- Jul 3, 2007, 10:01:23 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageLoop.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageLoop.c
r13970 r14000 4 4 5 5 #include "ppImage.h" 6 #include "ppImageDetrendFringe.h"7 #include "ppImageVersion.h"8 6 9 7 bool ppImageLoop (pmConfig *config, ppImageOptions *options) { … … 88 86 89 87 // measure various statistics for this image 90 if (!ppImage Stats (config, chip, view, options)) {88 if (!ppImagePixelStats (config, options, view)) { 91 89 psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to measures stats for image"); 92 90 psFree (view); … … 119 117 } 120 118 121 // Close cells 119 // Close cells (XXX shouldn't pmFPAfileClose iterate down as needed?) 122 120 view->cell = -1; 123 121 while ((cell = pmFPAviewNextCell(view, input->fpa, 1)) != NULL) { … … 139 137 } 140 138 141 // Write out summary statistics142 if (!ppImageStatsOutput (config, input->fpa, options)) {143 psError(PS_ERR_UNKNOWN, false, "Unable to write statistics file.\n");144 psFree (view);145 return false;146 }147 148 139 // XXX an optional full-scale FPA mosaic could happen here 149 140 // it would require us to NOT free PPIMAGE.CHIP until here … … 161 152 } 162 153 154 ppImageFileCheck (config); 155 156 // Write out summary statistics 157 if (!ppImageMetadataStats (config, options)) { 158 psError(PS_ERR_UNKNOWN, false, "Unable to write statistics file.\n"); 159 psFree (view); 160 return false; 161 } 162 163 164 // Write out summary statistics 165 if (!ppImageStatsOutput (config, options)) { 166 psError(PS_ERR_UNKNOWN, false, "Unable to write statistics file.\n"); 167 psFree (view); 168 return false; 169 } 170 163 171 // Close FPA 164 172 if (!pmFPAfileIOChecks(config, view, PM_FPA_AFTER)) {
Note:
See TracChangeset
for help on using the changeset viewer.
