IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7941


Ignore:
Timestamp:
Jul 19, 2006, 3:44:59 PM (20 years ago)
Author:
rhl
Message:

Subtract sky even where mask bits are set (per discussion with EAM)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotImageMedian.c

    r7732 r7941  
    165165    for (int j = 0; j < image->numRows; j++) {
    166166        for (int i = 0; i < image->numCols; i++) {
    167             if (!mask->data.U8[j][i]) {
    168                 image->data.F32[j][i] -= backData[j][i];
    169                 if (backSub) {
    170                     backSub->image->data.F32[j][i] = image->data.F32[j][i];
    171                 }
    172             }
     167            image->data.F32[j][i] -= backData[j][i];
     168            if (backSub) {
     169                backSub->image->data.F32[j][i] = image->data.F32[j][i];
     170            }
    173171        }
    174172    }
Note: See TracChangeset for help on using the changeset viewer.