Changeset 26731
- Timestamp:
- Jan 29, 2010, 10:55:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psModules/src/detrend/pmPattern.c
r24905 r26731 63 63 float lower = stats->robustMedian - thresh * stats->robustStdev; // Lower bound for data 64 64 float upper = stats->robustMedian + thresh * stats->robustStdev; // Upper bound for data 65 float background = stats->robustMedian; 65 66 psFree(stats); 66 67 psFree(rng); … … 113 114 114 115 for (int x = 0; x < numCols; x++) { 115 image->data.F32[y][x] -= solution->data.F32[x];116 image->data.F32[y][x] += (background - solution->data.F32[x]); 116 117 } 117 118 psFree(solution);
Note:
See TracChangeset
for help on using the changeset viewer.
