IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 24, 2008, 3:58:31 PM (18 years ago)
Author:
eugene
Message:

set masked pixels in binned images to maskedValue if requested (needs modified version of API)

File:
1 edited

Legend:

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

    r18556 r18724  
    8787            ESCAPE ("Unable to mosaic chip");
    8888
    89         if (!ppImageRebinChip(config, view, "PPIMAGE.BIN1"))
    90             ESCAPE ("Unable to bin chip (level 1).");
    91 
    92         if (!ppImageRebinChip(config, view, "PPIMAGE.BIN2"))
    93             ESCAPE ("Unable to bin chip (level 2).");
    94 
    9589        // we perform photometry on the readouts of this chip in the output
    9690        if (options->doPhotom) {
     
    10397                ESCAPE ("Unable to replace masked pixels with background level");
    10498        }
     99
     100        // binning (used for display) must take place after the background is replaced, if desired
     101        if (!ppImageRebinChip(config, view, options, "PPIMAGE.BIN1"))
     102            ESCAPE ("Unable to bin chip (level 1).");
     103
     104        if (!ppImageRebinChip(config, view, options, "PPIMAGE.BIN2"))
     105            ESCAPE ("Unable to bin chip (level 2).");
    105106
    106107        // Close cells (XXX shouldn't pmFPAfileClose iterate down as needed?)
Note: See TracChangeset for help on using the changeset viewer.