IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 15, 2009, 1:42:42 PM (16 years ago)
Author:
bills
Message:

Fix problem where mask images were being set to zero when the entire
copmonent is completely excised (censored) because none of the overlapping
skycells were included in the magic analysis. In this case
leave the mask image unmodified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksremove.c

    r25434 r26407  
    580580                pmAstromWriteWCS(sf->outMask->header, sf->inAstrom->fpa, sf->chip, 0.001);
    581581            }
    582             setupImageRefs(sf->outMask, sf->recMask, sf->inMask, sf->extnum, exciseAll);
     582            // Note: we don't excise the mask pixels even if exciseAll is true.
     583            setupImageRefs(sf->outMask, sf->recMask, sf->inMask, sf->extnum, false);
    583584            if (sf->outChMask) {
    584585                sf->outChMask->header = (psMetadata *) psMemIncrRefCounter(sf->outMask->header);
Note: See TracChangeset for help on using the changeset viewer.