Changeset 30642
- Timestamp:
- Feb 15, 2011, 4:08:22 PM (15 years ago)
- File:
-
- 1 edited
-
tags/ipp-20101215/ppImage/src/ppImageAddNoise.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tags/ipp-20101215/ppImage/src/ppImageAddNoise.c
r30641 r30642 77 77 double add_sigma = sqrt((MSKY_MN/GAIN)*(rho - 1.0) + PS_SQR(RDNOISE)*(rho2 - 1.0)); 78 78 79 fprintf (stderr, "mean sky: %f, scaling by %f, adding %f before re-scaling\n", MSKY_MN, rho, add_sigma); 80 79 81 for (int iy = 0; iy < image->numRows; iy++){ 80 82 for (int ix = 0; ix < image->numCols; ix++){ … … 91 93 ppImageRandomGaussianFree(); 92 94 psFree(rng); 95 psFree(stats); 93 96 94 97 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
