IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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


Ignore:
Timestamp:
Dec 20, 2004, 6:15:28 PM (22 years ago)
Author:
Paul Price
Message:

Running faster now by only transforming rejection masks where we're interested. To do: only transform and combine in the second iteration for areas where we're interested

File:
1 edited

Legend:

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

    r2670 r2764  
    137137// Transform the rejection masks back to the source frame
    138138psArray *stacRejection(psArray *inputs, // Input images
    139                        psArray *transformed, // Transformed images
    140                        psImage *combined, // Combined image
     139                       psArray *rejected, // Rejected images
     140                       psArray *regions, // Regions of interest
    141141                       psArray *maps,   // Maps from input to transformed image
    142142                       psArray *inverseMaps, // Maps from transformed to input image
    143                        psArray *rejected, // Rejected images
    144143                       stacConfig *config // Configuration
    145144    );
    146145
     146/************************************************************************************************************/
     147
     148// stacAreaOfInterest.c
     149
     150// Returns the change in x' and y' for a change in x and y of 1
     151bool stacPlaneTransformDeriv(psPlane *out, // Output derivative, assumed already allocated
     152                             psPlaneTransform *transform, // The transform for which to obtain the derivative
     153                             psPlane *in // The position at which to obtain the derivative
     154    );
     155
     156// Return a mask image designating the region of interest in the source frame
     157// Basically, uses derivatives of the transformation to work out what pixels in the source might be of interest
     158psImage *stacAreaOfInterest(psImage *mask, // Mask that is to be used to determine the area of interest
     159                            psPlaneTransform *map, // Map from the mask to the area of interest
     160                            int nxOut, int nyOut // Size of the area of interest
     161    );
     162
     163/************************************************************************************************************/
    147164
    148165#endif
Note: See TracChangeset for help on using the changeset viewer.