IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13498


Ignore:
Timestamp:
May 23, 2007, 5:24:41 PM (19 years ago)
Author:
Paul Price
Message:

Weight on the basis of pixel value needs to be done after the overscan has been subtracted

File:
1 edited

Legend:

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

    r13461 r13498  
    1818    // Masking on the basis of pixel value needs to be done before anything else, so the values are pristine.
    1919    if (options->doMask || options->doShutter || options->doFlat || options->doPhotom) {
    20         // create the target mask and weight images
    21         pmReadoutGenerateMaskWeight(input, true);
     20        pmReadoutGenerateMask(input, true);
    2221    }
    2322    // apply the externally supplied mask to the input->mask pixels
     
    5049            return false;
    5150        }
     51    }
     52
     53    // Weight on the basis of pixel value needs to be done after the overscan has been subtracted
     54    if (options->doMask || options->doShutter || options->doFlat || options->doPhotom) {
     55        // create the target mask and weight images
     56        pmReadoutGenerateWeight(input, true);
    5257    }
    5358
Note: See TracChangeset for help on using the changeset viewer.