Changeset 27105 for trunk/ppStack/src/ppStackReadout.c
- Timestamp:
- Feb 26, 2010, 2:27:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackReadout.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackReadout.c
r26898 r27105 143 143 } 144 144 145 #if 0146 // This doesn't seem to work, so getting the weightings directly from a vector147 float weighting = psMetadataLookupF32(&mdok, ro->analysis, "PPSTACK.WEIGHTING"); // Relative weight148 if (!mdok || !isfinite(weighting)) {149 psWarning("No weighting supplied for image %d --- set to unity.", i);150 weighting = 1.0;151 } else {152 psLogMsg("ppStack", PS_LOG_INFO, "Weighting for image %d is %f", i, weighting);153 }154 #endif155 156 145 // Ensure there is a mask, or pmStackCombine will complain 157 146 if (!ro->mask) { … … 243 232 } 244 233 245 #if 0246 // This doesn't seem to work, so getting the weightings directly from a vector247 bool mdok; // Status of MD lookup248 float weighting = psMetadataLookupF32(&mdok, ro->analysis, "PPSTACK.WEIGHTING"); // Relative weight249 if (!mdok || !isfinite(weighting)) {250 psWarning("No WEIGHTING supplied for image %d --- set to unity.", i);251 weighting = 1.0;252 }253 #endif254 255 234 // Ensure there is a mask, or pmStackCombine will complain 256 235 if (!ro->mask) {
Note:
See TracChangeset
for help on using the changeset viewer.
