IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 19, 2006, 10:37:35 AM (20 years ago)
Author:
magnier
Message:

merged PM_SOURCE_MASK with PM_MASK_xxx, merged pmFPAMaskWeight with pmMaskBadPixels

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.c

    r6873 r6910  
    2424 *  @author Ross Harman, MHPCC
    2525 *
    26  *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    27  *  @date $Date: 2006-04-17 18:10:08 $
     26 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     27 *  @date $Date: 2006-04-19 20:37:35 $
    2828 *
    2929 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    148148            /* Pixels which satisfy growVal and within the grow radius shall be masked */                    \
    149149            if(mask->data.PS_TYPE_MASK_DATA[j][i] & growVal) {                                               \
    150                 rowMin = MAX(j-grow, 0);                                                                     \
    151                 rowMax = MIN(j+grow+1, inImage->numRows);                                                    \
    152                 colMin = MAX(i-grow, 0);                                                                     \
    153                 colMax = MIN(i+grow+1, inImage->numCols);                                                    \
     150                rowMin = PS_MAX(j-grow, 0);                                                                     \
     151                rowMax = PS_MIN(j+grow+1, inImage->numRows);                                                    \
     152                colMin = PS_MAX(i-grow, 0);                                                                     \
     153                colMax = PS_MIN(i+grow+1, inImage->numCols);                                                    \
    154154                for(jj=rowMin; jj<rowMax; jj++) {                                                            \
    155155                    for(ii=colMin; ii<colMax; ii++) {                                                        \
Note: See TracChangeset for help on using the changeset viewer.