IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2783 for trunk/stac/src/stac.h


Ignore:
Timestamp:
Dec 21, 2004, 4:07:04 PM (22 years ago)
Author:
Paul Price
Message:

Running fast now. Only optimisation tweaks to be made now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stac.h

    r2764 r2783  
    2828                                        // considered bad
    2929    float grad;                         // Multiplier of the gradient
     30    int nReject;                        // Number of rejection iterations
    3031} stacConfig;
    3132
     
    6768// stacTransform.c
    6869
    69 // Transform input images
    70 psArray *stacTransform(const psArray *images, // Array of images to be transformed
    71                        const psArray *maps, // Array of polynomials that do the transformation
    72                        const psArray *errors, // Array of error images
    73                        psArray **outErrors, // Array of output errors
    74                        const psArray *masks, // Masks of input images
    75                        const stacConfig *config // Configuration
     70// Transform input images, return success
     71bool stacTransform(psArray **outputs,   // Transformed images for output
     72                   psArray **outErrors, // Transformed error images for output
     73                   const psArray *images, // Array of images to be transformed
     74                   const psArray *maps, // Array of polynomials that do the transformation
     75                   const psArray *errors, // Array of error images to be transformed
     76                   const psArray *masks, // Masks of input images
     77                   const psImage *region, // Region of interest for transformation
     78                   const stacConfig *config // Configuration
    7679    );
    7780
     
    110113
    111114// Combine the transformed images
    112 psImage *stacCombine(psArray *images,   // Array of transformed images
    113                      psArray *errors,   // Array of transformed error images
    114                      int nReject,       // Number of rejection iterations
    115                      psArray **rejected, // Array of rejection masks
    116                      stacConfig *config // Configuration
     115bool stacCombine(psImage **combined,    // The combined image for output
     116                 psArray **rejected,    // Array of rejection masks
     117                 psArray *images,       // Array of transformed images
     118                 psArray *errors,       // Array of transformed error images
     119                 int nReject,           // Number of rejection iterations
     120                 psImage *region,       // Region to combine
     121                 stacConfig *config     // Configuration
    117122    );
    118123
Note: See TracChangeset for help on using the changeset viewer.