IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 9, 2004, 11:48:07 AM (22 years ago)
Author:
desonia
Message:

Moved psImage manipulation functions from collections/psImage.[ch] to dataManip/psImageManip.[ch].

File:
1 edited

Legend:

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

    r1073 r1205  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-06-23 23:00:15 $
     13 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-07-09 21:48:07 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    137137);
    138138
    139 /** Clip image values outside of tange to given values
    140  *
    141  *  All pixels with values less than min are set to the value vmin.  all pixels
    142  *  with values greater than max are set to the value vmax. This function is
    143  *  defined for psU8, psU16, psS8, psS16, psF32, psF64, psC32, and psC64.
    144  *
    145  *  @return int     The number of clipped pixels
    146  */
    147 int psImageClip(
    148     psImage* input,                 ///< the image to clip
    149     psF32 min,                      ///< the minimum image value allowed
    150     psF32 vmin,                     ///< the value pixels < min are set to
    151     psF32 max,                      ///< the maximum image value allowed
    152     psF32 vmax                      ///< the value pixels > max are set to
    153 );
    154 
    155 /** Clip NaN image pixels to given value.
    156  *
    157  *  Pixels with NaN, +Inf, or -Inf values are set to the specified value. This
    158  *  function is defined for psF32, psF64, psC32, and psC64.
    159  *
    160  *  @return int     The number of clipped pixels
    161  */
    162 int psImageClipNaN(
    163     psImage* input,                 ///< the image to clip
    164     psF32 value                     ///< the value to set all NaN/Inf values to
    165 );
    166 
    167 /** Overlay subregion of image with another image
    168  *
    169  *  Replace the pixels in the image which correspond to the pixels in OVERLAY
    170  *  with values derived from the IMAGE and OVERLAY based on the given operator
    171  *  OP.  Valid operators are "=" (set image value to OVERLAY value), "+" (add
    172  *  OVERLAY value to image value), "-" (subtract OVERLAY from image), "*"
    173  *  (multiply OVERLAY times image), "/" (divide image by OVERLAY).  This
    174  *  function is defined for psU8, psS8, psS16, psF32, psF64, psC32, and psC64.
    175  *
    176  *  @return int         0 if success, non-zero if failed.
    177  */
    178 int psImageOverlaySection(
    179     psImage* image,                 ///< target image
    180     const psImage* overlay,         ///< the overlay image
    181     int col0,                       ///< the column to start overlay
    182     int row0,                       ///< the row to start overlay
    183     const char* op                  ///< the operation to perform for overlay
    184 );
    185 
    186139/// @}
    187140
Note: See TracChangeset for help on using the changeset viewer.