IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 20, 2008, 1:41:12 PM (18 years ago)
Author:
eugene
Message:

replace old output chip-mosaic mask with one modified by psphot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppImage/src/ppImagePhotom.c

    r16084 r18636  
    4040                return false;
    4141            }
     42
     43            // we want to save the MASK as modified by psphot, but not the data or weight
     44            // free the old mask and replace with a memory copy of the new mask
     45            pmReadout *oldReadout = pmFPAviewThisReadout (view, input->src);
     46            pmReadout *newReadout = pmFPAviewThisReadout (view, input->fpa);
     47            psFree (oldReadout->mask);
     48            oldReadout->mask = psMemIncrRefCounter (newReadout->mask);
    4249        }
    4350    }
Note: See TracChangeset for help on using the changeset viewer.