IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20250


Ignore:
Timestamp:
Oct 17, 2008, 2:49:19 PM (18 years ago)
Author:
eugene
Message:

apply masked sources back to the input masks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSFtry.c

    r20078 r20250  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.63 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2008-10-13 02:00:22 $
     7 *  @version $Revision: 1.64 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2008-10-18 00:49:19 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    641641        psf->trendNx = trend->map->map->numCols;
    642642        psf->trendNy = trend->map->map->numRows;
     643
     644        // copy mask back to srcMask
     645        for (int i = 0; i < mask->n; i++) {
     646            srcMask->data.U8[i] = mask->data.U8[i];
     647        }
    643648
    644649        psFree (mask);
     
    908913    psFree (e2res);
    909914
     915    // XXX copy fitMask values back to mask
     916    for (int i = 0; i < fitMask->n; i++) {
     917        mask->data.U8[i] = fitMask->data.U8[i];
     918    }
    910919    psFree (fitMask);
    911920
Note: See TracChangeset for help on using the changeset viewer.