Changeset 6325 for trunk/psModules/src/imcombine/pmReadoutCombine.c
- Timestamp:
- Feb 6, 2006, 11:03:25 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmReadoutCombine.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmReadoutCombine.c
r6206 r6325 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-0 1-26 21:19:25 $7 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-02-06 21:03:25 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 410 410 psRegion minRegion; 411 411 psRegion maxRegion; 412 psStats *minStats = psStatsAlloc(PS_STAT_ ROBUST_MEAN);413 psStats *maxStats = psStatsAlloc(PS_STAT_ ROBUST_MEAN);412 psStats *minStats = psStatsAlloc(PS_STAT_FITTED_MEAN); 413 psStats *maxStats = psStatsAlloc(PS_STAT_FITTED_MEAN); 414 414 psStats *diffStats = psStatsAlloc(PS_STAT_ROBUST_MEDIAN); 415 415 psVector *diffs = psVectorAlloc(fringePoints->n, PS_TYPE_F32); … … 445 445 } 446 446 447 fp->midValue = 0.5 * (maxStats-> robustMean + minStats->robustMean);448 fp->delta = maxStats-> robustMean - minStats->robustMean;447 fp->midValue = 0.5 * (maxStats->fittedMean + minStats->fittedMean); 448 fp->delta = maxStats->fittedMean - minStats->fittedMean; 449 449 diffs->data.F32[i] = fp->delta; 450 450 } … … 455 455 psFree(diffs); 456 456 if (diffStats == NULL) { 457 psError(PS_ERR_UNKNOWN, true, "Could not determine robustmedian of the differences.\n");457 psError(PS_ERR_UNKNOWN, true, "Could not determine fitted median of the differences.\n"); 458 458 return(NULL); 459 459 }
Note:
See TracChangeset
for help on using the changeset viewer.
