Changeset 3610 for trunk/stac/src/stacCombine.c
- Timestamp:
- Mar 31, 2005, 5:07:12 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stacCombine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stacCombine.c
r3375 r3610 68 68 int numRows = ((psImage*)images->data[0])->numRows; // Image size 69 69 int numCols = ((psImage*)images->data[0])->numCols; // Image size 70 float saturated = config->saturated;// Saturation limit71 float bad = config->bad; // Bad pixel limit70 psVector *saturated = config->saturated;// Saturation limits 71 psVector *bad = config->bad; // Bad pixel limits 72 72 float reject = config->reject; // Rejection (k-sigma) 73 73 … … 134 134 pixels->data.F32[i] = pixel; 135 135 deltas->data.F32[i] = delta; 136 if ((pixel >= saturated) || (pixel <= bad) || (! isfinite(pixel)) || (! isfinite(delta))) { 136 if ((pixel >= saturated->data.F32[i]) || (pixel <= bad->data.F32[i]) || 137 (! isfinite(pixel)) || (! isfinite(delta))) { 137 138 mask->data.U8[i] = (psU8)1; // Don't use! 138 139 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
