Changeset 18183
- Timestamp:
- Jun 18, 2008, 4:00:44 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackMatch.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackMatch.c
r18100 r18183 126 126 psFree(optWidths); 127 127 128 // Set the variance factor 129 float vfNew = psMetadataLookupF32(NULL, output->analysis, PM_SUBTRACTION_ANALYSIS_VARFACTOR); 130 float vfOld = psMetadataLookupF32(NULL, readout->concepts, "CELL.VARFACTOR"); 131 if (isfinite(vfOld)) { 132 vfNew *= vfOld; 133 } 134 psMetadataItem *vfItem = psMetadataLookup(output->parent->concepts, "CELL.VARFACTOR"); 135 if (!isfinite(vfItem->data.F32)) { 136 vfItem->data.F32 *= vfNew; 137 } else { 138 vfItem->data.F32 = vfNew; 139 } 140 128 141 // Replace original images with convolved 129 142 psFree(readout->image);
Note:
See TracChangeset
for help on using the changeset viewer.
