IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 26, 2004, 1:46:39 PM (22 years ago)
Author:
Paul Price
Message:

Updated psImageCut to exclude the width of the cut: just want a cut
through the data: no need to integrate perpendicular to the cut.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psImage.h

    r1585 r1633  
    8080/** Direction in which to cut */
    8181typedef enum {
    82     PS_CUT_X_POS,                       ///< Cut in positive x direction
    83     PS_CUT_X_NEG,                       ///< Cut in negative x direction
    84     PS_CUT_Y_POS,                       ///< Cut in positive y direction
    85     PS_CUT_Y_NEG                        ///< Cut in negative y direction
     82    PS_CUT_X_POS,                     ///< Cut in positive x direction
     83    PS_CUT_X_NEG,                     ///< Cut in negative x direction
     84    PS_CUT_Y_POS,                     ///< Cut in positive y direction
     85    PS_CUT_Y_NEG                      ///< Cut in negative y direction
    8686} psImageCutDirection;
    8787
     
    8989psVector *
    9090psImageSlice(psVector *out,             ///< Vector to output, or NULL
    91              psVector *coords,          ///< Returned coordinates along the slice, or NULL
    9291             const psImage *input,      ///< Input image
    9392             const psImage *mask,       ///< Ignore those pixels where mask & maskVal == 1.  May be NULL
    9493             unsigned int maskVal,      ///< Value in mask to ignore
    95              unsigned int x,            ///< starting x coord of region to slice
    96              unsigned int y,            ///< starting y coord of region to slice
    97              unsigned int nx,           ///< length of region in x
    98              unsigned int ny,           ///< length of region in y
     94             unsigned int x,            ///< starting x coord of region to slice
     95             unsigned int y,            ///< starting y coord of region to slice
     96             unsigned int nx,           ///< length of region in x
     97             unsigned int ny,           ///< length of region in y
    9998             psImageCutDirection direction, ///< Direction in which to cut
    100              const psStats *stats       ///< defines statistics used to find output values
     99             const psStats *stats       ///< defines statistics used to find output values
    101100    );
    102101
     
    111110           float xe,                    ///< ending x coord of cut
    112111           float ye,                    ///< ending y coord of cut
    113            float dw,                    ///< width of cut
    114            const psStats *stats)        ///< defines statistics used to find output values
    115 ;
     112           unsigned int nSamples,       ///< Number of samples along the slice
     113           psImageInterpolateMode mode  ///< defines statistics used to find output values
     114           );
    116115
    117116/// Extract radial annulii data to a vector.
Note: See TracChangeset for help on using the changeset viewer.