IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2008, 1:49:32 PM (18 years ago)
Author:
Paul Price
Message:

Implementing background subtraction in the place of replacing bad pixels with the background. Bad pixels are automatically identified and set to 0 in the process, so this is effectively the same thing as before, except it subtracts the background as well. The background (from psphot) is built if it doesn't exist.

File:
1 edited

Legend:

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

    r20419 r20444  
    129129
    130130        // replace the masked pixels with the background level
    131         if (options->replaceMasked) {
    132             if (!ppImageReplaceBackground(config, view, options)) {
    133                 ESCAPE("Unable to replace masked pixels with background level");
     131        if (options->doBG) {
     132            if (!ppImageSubtractBackground(config, view, options)) {
     133                ESCAPE("Unable to subtract background");
    134134            }
    135135        }
Note: See TracChangeset for help on using the changeset viewer.