IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 2:06:06 PM (22 years ago)
Author:
desonia
Message:

another attempt to get astyle to get it right.

File:
1 edited

Legend:

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

    r1263 r1407  
     1
    12/** @file  psImageManip.h
    23 *
     
    1011 *  @author Ross Harman, MHPCC
    1112 *
    12  *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2004-07-22 20:42:22 $
     13 *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-08-07 00:06:06 $
    1415 *
    1516 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1617 */
    1718#ifndef PS_IMAGE_MANIP_H
    18 #define PS_IMAGE_MANIP_H
     19#    define PS_IMAGE_MANIP_H
    1920
    20 #include "psImage.h"
     21#    include "psImage.h"
    2122
    2223/// @addtogroup Image
     
    3132 *  @return int     The number of clipped pixels
    3233 */
    33 int psImageClip(
    34     psImage* input,                 ///< the image to clip
    35     psF64 min,                      ///< the minimum image value allowed
    36     psF64 vmin,                     ///< the value pixels < min are set to
    37     psF64 max,                      ///< the maximum image value allowed
    38     psF64 vmax                      ///< the value pixels > max are set to
    39 );
     34int psImageClip(psImage * input,        // /< the image to clip
     35                psF64 min,      // /< the minimum image value allowed
     36                psF64 vmin,     // /< the value pixels < min are set to
     37                psF64 max,      // /< the maximum image value allowed
     38                psF64 vmax      // /< the value pixels > max are set to
     39               );
    4040
    4141/** Clip image values outside of a specified complex region
     
    4848 *  @return int     The number of clipped pixels
    4949 */
    50 int psImageClipComplexRegion(
    51     psImage* input,                 ///< the image to clip
    52     psC64 min,                      ///< the minimum image value allowed
    53     psC64 vmin,                     ///< the value pixels < min are set to
    54     psC64 max,                      ///< the maximum image value allowed
    55     psC64 vmax                      ///< the value pixels > max are set to
    56 );
     50int psImageClipComplexRegion(psImage * input,   // /< the image to clip
     51                             psC64 min, // /< the minimum image value allowed
     52                             psC64 vmin,        // /< the value pixels < min are set to
     53                             psC64 max, // /< the maximum image value allowed
     54                             psC64 vmax // /< the value pixels > max are set to
     55                            );
    5756
    5857/** Clip NaN image pixels to given value.
     
    6362 *  @return int     The number of clipped pixels
    6463 */
    65 int psImageClipNaN(
    66     psImage* input,                 ///< the image to clip
    67     psF64 value                     ///< the value to set all NaN/Inf values to
    68 );
     64int psImageClipNaN(psImage * input,     // /< the image to clip
     65                   psF64 value  // /< the value to set all NaN/Inf values to
     66                  );
    6967
    7068/** Overlay subregion of image with another image
     
    7977 *  @return int         0 if success, non-zero if failed.
    8078 */
    81 int psImageOverlaySection(
    82     psImage* image,                 ///< target image
    83     const psImage* overlay,         ///< the overlay image
    84     int col0,                       ///< the column to start overlay
    85     int row0,                       ///< the row to start overlay
    86     const char* op                  ///< the operation to perform for overlay
    87 );
     79int psImageOverlaySection(psImage * image,      // /< target image
     80                          const psImage * overlay,      // /< the overlay image
     81                          int col0,     // /< the column to start overlay
     82                          int row0,     // /< the row to start overlay
     83                          const char *op        // /< the operation to perform for overlay
     84                         );
    8885
    8986/** Rebin image to new scale.
     
    9794 *  @return psImage    new image formed by rebinning input image.
    9895 */
    99 psImage* psImageRebin(
    100     psImage* out,                   ///< an psImage to recycle.  If NULL, a new image is created
    101     const psImage* in,              ///< input image
    102     unsigned int scale,             ///< the scale to rebin for each dimension
    103     const psStats* stats            ///< the statistic to perform when rebinning.  Only one method should be set.
    104 );
     96psImage *psImageRebin(psImage * out,    // /< an psImage to recycle.  If NULL, a new image is created
     97                      const psImage * in,       // /< input image
     98                      unsigned int scale,       // /< the scale to rebin for each dimension
     99                      const psStats * stats     // /< the statistic to perform when rebinning.  Only one
     100                      // method should be set.
     101                     );
    105102
    106 psImage* psImageResample(
    107     psImage* out,                   ///< an psImage to recycle.  If NULL, a new image is created
    108     const psImage* in,              ///< input image
    109     int scale,
    110     psImageInterpolateMode mode
    111 );
     103psImage *psImageResample(psImage * out, // /< an psImage to recycle.  If NULL, a new image is created
     104                         const psImage * in,    // /< input image
     105                         int scale, psImageInterpolateMode mode);
    112106
    113 psImage* psImageRotate(
    114     psImage* out,                   ///< an psImage to recycle.  If NULL, a new image is created
    115     const psImage* in,              ///< input image
    116     float angle,
    117     float unexposedValue,
    118     psImageInterpolateMode mode
    119 );
     107psImage *psImageRotate(psImage * out,   // /< an psImage to recycle.  If NULL, a new image is created
     108                       const psImage * in,      // /< input image
     109                       float angle, float unexposedValue, psImageInterpolateMode mode);
    120110
    121 psImage* psImageShift(
    122     psImage* out,                   ///< an psImage to recycle.  If NULL, a new image is created
    123     const psImage* in,              ///< input image
    124     float dx,
    125     float dy,
    126     float unexposedValue,
    127     psImageInterpolateMode mode
    128 );
     111psImage *psImageShift(psImage * out,    // /< an psImage to recycle.  If NULL, a new image is created
     112                      const psImage * in,       // /< input image
     113                      float dx, float dy, float unexposedValue, psImageInterpolateMode mode);
    129114
    130115/** Roll image by an integer number of pixels in either direction.
     
    136121 *  @return psImage*    the rolled version of the input image.
    137122 */
    138 psImage* psImageRoll(
    139     psImage* out,                   ///< an psImage to recycle.  If NULL, a new image is created
    140     const psImage* in,              ///< input image
    141     int dx,                         ///< number of pixels to roll in the x-dimension
    142     int dy                          ///< number of pixels to roll in the y-dimension
    143 );
     123psImage *psImageRoll(psImage * out,     // /< an psImage to recycle.  If NULL, a new image is created
     124                     const psImage * in,        // /< input image
     125                     int dx,    // /< number of pixels to roll in the x-dimension
     126                     int dy     // /< number of pixels to roll in the y-dimension
     127                    );
    144128
    145129#endif
    146 
Note: See TracChangeset for help on using the changeset viewer.