Changeset 42829
- Timestamp:
- May 8, 2025, 4:50:50 PM (12 months ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMaskWeight.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMaskWeight.c
r35561 r42829 364 364 365 365 366 // NOTE: this function attempts to modify the variance to ensure the sky pixels 367 // have a signal-to-noise distribution consistent with 1.0 366 368 bool pmReadoutVarianceRenormalise(const pmReadout *readout, psImageMaskType maskVal, 367 369 int sample, float minValid, float maxValid) … … 415 417 416 418 signoise->data.F32[index] = image->data.F32[y][x] / sqrtf(variance->data.F32[y][x]); 419 420 // a high S/N pixel is not likely to be part of the sky 421 // consider skipping them 422 // if (signoise->data.F32[index] > 10) continue; 423 417 424 index++; 418 425 } … … 434 441 435 442 signoise->data.F32[index] = image->data.F32[y][x] / sqrtf(variance->data.F32[y][x]); 443 444 // a high S/N pixel is not likely to be part of the sky 445 // consider skipping them 446 // if (signoise->data.F32[index] > 10) continue; 436 447 index++; 437 448 }
Note:
See TracChangeset
for help on using the changeset viewer.
