IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 2:57:34 PM (22 years ago)
Author:
desonia
Message:

converted native C types to ps Types, where practical.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/image/psImageManip.h

    r1635 r2204  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-08-27 19:49:54 $
     13 *  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-10-27 00:57:31 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3030 *  defined for psU8, psU16, psS8, psS16, psF32, psF64, psC32, and psC64.
    3131 *
    32  *  @return int     The number of clipped pixels
     32 *  @return psS32     The number of clipped pixels
    3333 */
    34 int psImageClip(
     34psS32 psImageClip(
    3535    psImage* input,                    ///< the image to clip
    3636    psF64 min,                         ///< the minimum image value allowed
     
    4747 *  This function is defined for psC32, and psC64 imagery only.
    4848 *
    49  *  @return int     The number of clipped pixels
     49 *  @return psS32     The number of clipped pixels
    5050 */
    51 int psImageClipComplexRegion(
     51psS32 psImageClipComplexRegion(
    5252    psImage* input,                    ///< the image to clip
    5353    psC64 min,                         ///< the minimum image value allowed
     
    6262 *  function is defined for psF32, psF64, psC32, and psC64.
    6363 *
    64  *  @return int     The number of clipped pixels
     64 *  @return psS32     The number of clipped pixels
    6565 */
    66 int psImageClipNaN(
     66psS32 psImageClipNaN(
    6767    psImage* input,                    ///< the image to clip
    6868    psF64 value                        ///< the value to set all NaN/Inf values to
     
    7878 *  function is defined for psU8, psS8, psS16, psF32, psF64, psC32, and psC64.
    7979 *
    80  *  @return int         0 if success, non-zero if failed.
     80 *  @return psS32         0 if success, non-zero if failed.
    8181 */
    82 int psImageOverlaySection(
     82psS32 psImageOverlaySection(
    8383    psImage* image,                    ///< target image
    8484    const psImage* overlay,            ///< the overlay image
    85     int col0,                          ///< the column to start overlay
    86     int row0,                          ///< the row to start overlay
     85    psS32 col0,                          ///< the column to start overlay
     86    psS32 row0,                          ///< the row to start overlay
    8787    const char *op                     ///< the operation to perform for overlay
    8888);
     
    103103    const psImage* restrict mask,      ///< mask for input image.  If NULL, no masking is done.
    104104    psMaskType maskVal,                ///< the bits to check in mask.
    105     unsigned int scale,                ///< the scale to rebin for each dimension
     105    psU32 scale,                ///< the scale to rebin for each dimension
    106106    const psStats* stats
    107107    ///< the statistic to perform when rebinning.  Only one method should be set.
     
    121121    psImage* out,                      ///< an psImage to recycle.  If NULL, a new image is created
    122122    const psImage* in,                 ///< input image
    123     int scale,                         ///< resample scaling factor
     123    psS32 scale,                         ///< resample scaling factor
    124124    psImageInterpolateMode mode        ///< the interpolation mode used in resampling
    125125);
     
    176176    psImage* out,                      ///< an psImage to recycle.  If NULL, a new image is created
    177177    const psImage* in,                 ///< input image
    178     int dx,                            ///< number of pixels to roll in the x-dimension
    179     int dy                             ///< number of pixels to roll in the y-dimension
     178    psS32 dx,                            ///< number of pixels to roll in the x-dimension
     179    psS32 dy                             ///< number of pixels to roll in the y-dimension
    180180);
    181181
Note: See TracChangeset for help on using the changeset viewer.