Changeset 29603
- Timestamp:
- Oct 29, 2010, 10:55:15 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsAverage.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsAverage.c
r26971 r29603 222 222 223 223 float cellSaturation = psMetadataLookupF32(NULL, cell->concepts, "CELL.SATURATION"); 224 if (cellSaturation < saturation) { 225 saturation = cellSaturation; 226 } 224 if (cellSaturation > 10000) { 225 // do not allow invalid values to polute this calculation 226 // XXX really need to do this on the basis of the fraction of the cell that contributes.. 227 // if a cell is completely masked, it should not be included. 228 if (cellSaturation < saturation) { 229 saturation = cellSaturation; 230 } 231 } 227 232 float cellBad = psMetadataLookupF32(NULL, cell->concepts, "CELL.BAD"); 228 233 if (cellBad > bad) {
Note:
See TracChangeset
for help on using the changeset viewer.
