IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2014, 6:08:39 PM (12 years ago)
Author:
watersc1
Message:

ppBackgroundStack compiles. I know it's not useful yet, because I haven't implemented the 'apply' and 'save the outputs' parts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppBackground/src/ppBackgroundStack.h

    r36579 r36580  
    77#include "ppBackgroundErrorCodes.h"
    88
    9 #define PPBACKGROUND_RECIPE "PPBACKGROUND"      // Recipe name
     9#define PPBACKGROUND_RECIPE "PPBACKGROUND_STACK"      // Recipe name
    1010
    1111// Data for processing
     
    3030
    3131/// Initialise data for processing
    32 ppBackgroundData *ppBackgroundDataInit(int *argc, char *argv[] // Command-line arguments
     32ppBackgroundStackData *ppBackgroundStackDataInit(int *argc, char *argv[] // Command-line arguments
    3333    );
    3434
     
    3939
    4040/// Parse camera configurations
    41 bool ppBackgroundStackCamera(ppBackgroundData *data // Data for processing
     41bool ppBackgroundStackCamera(ppBackgroundStackData *data // Data for processing
    4242    );
    4343
    4444/// Loop over input data, processing
    45 bool ppBackgroundStackLoop(ppBackgroundData *data // Data for processing
     45bool ppBackgroundStackLoop(ppBackgroundStackData *data // Data for processing
    4646    );
    4747
    48 /// Determine the binning from the recipe if available.
    49 psImageBinning *ppBackgroundStackBinningByRecipe(const psImage *image, // Image for which to generate a bg model
    50                                                  const pmConfig *config, // Configuration
    51                                                  psString recipe_name,
    52                                                  psString Xbin_name,
    53                                                  psString Ybin_name
    54                                                  );
     48bool ppBackgroundStackModelFitOTASolution(ppBackgroundStackData *data);
     49bool ppBackgroundStackDataModelFit(ppBackgroundStackData *data);
     50bool ppBackgroundStackCalibApply(ppBackgroundStackData *data);
     51bool ppBackgroundStackModelFit(ppBackgroundStackData *data);
    5552
    56 
    57 /// Restore the background to an image
    58 bool ppBackgroundStackRestore(
    59     pmChip *chip,                       // Chip to correct
    60     const pmChip *background,           // Chip with background model
    61     const pmChip *pattern,              // Chip with pattern
    62     const pmFPAview *view,              // View to data
    63     pmConfig *config,                   // Configuration
    64     psImageMaskType maskBad             // value to use for bad pixels
    65     );
    6653
    6754/// Determine exit code
Note: See TracChangeset for help on using the changeset viewer.