Changeset 6311 for trunk/psphot/src/psphotImageBackground.c
- Timestamp:
- Feb 2, 2006, 1:30:35 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotImageBackground.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotImageBackground.c
r6056 r6311 28 28 double frnd = psRandomUniform (rnd); 29 29 int pixel = Npixels * frnd; 30 int ix = pixel /image->numCols;31 int iy = pixel %image->numCols;30 int ix = pixel % image->numCols; 31 int iy = pixel / image->numCols; 32 32 float value = image->data.F32[iy][ix]; 33 33 if (fabs(value - Sky) > dSky) continue;
Note:
See TracChangeset
for help on using the changeset viewer.
