IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 27, 2010, 11:50:36 AM (16 years ago)
Author:
watersc1
Message:

Moving code to a branch so I can work on the detectability server.

Location:
branches/czw_branch/20100427
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20100427/psLib/src/imageops/psImageStats.c

    r23989 r27784  
    9797
    9898        psVectorMaskType *data = junkMask->data.PS_TYPE_VECTOR_MASK_DATA;
     99        psU8* imdata = junkData->data.U8;
    99100        for (int row = 0, nVect = 0; row < numRows; row++) {
    100101            for (int col = 0; col < numCols; col++, nVect++) {
    101102                data[nVect] = (mask->data.PS_TYPE_IMAGE_MASK_DATA[row][col] & maskVal);
     103               
     104                if ((imdata[nVect] > 100000)||
     105                    (imdata[nVect] != imdata[nVect])||
     106                    (imdata[nVect] < -100000)) {
     107                  data[nVect] &= maskVal;
     108                }
    102109            }
    103110        }
Note: See TracChangeset for help on using the changeset viewer.