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/psImageExtraction.h

    r1404 r1407  
     1
    12/** @file  psImageExtraction.h
    23*
     
    910*  @author Robert DeSonia, MHPCC
    1011*
    11 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2004-08-06 21:50:13 $
     12*  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-08-07 00:06:06 $
    1314*
    1415*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1617
    1718#ifndef PSIMAGEEXTRACTION_H
    18 #define PSIMAGEEXTRACTION_H
     19#    define PSIMAGEEXTRACTION_H
    1920
    20 #include "psImage.h"
    21 #include "psVector.h"
    22 #include "psStats.h"
     21#    include "psImage.h"
     22#    include "psVector.h"
     23#    include "psStats.h"
    2324
    2425/// @addtogroup Image
     
    4041*
    4142*/
    42 psImage *psImageSubset(
    43     psImage *out,                         ///< Subimage to return, or NULL.
    44     psImage *image,                       ///< Parent image.
    45     unsigned int numCols,                 ///< Subimage width (<= image.nCols - col0).
    46     unsigned int numRows,                 ///< Subimage height (<= image.nRows - row0).
    47     unsigned int col0,                    ///< Subimage col-offset (0 <= col0 < nCol).
    48     unsigned int row0                   ///< Subimage row-offset (0 <= row0 < nCol).
    49 );
     43psImage *psImageSubset(psImage * out,   // /< Subimage to return, or NULL.
     44                       psImage * image, // /< Parent image.
     45                       unsigned int numCols,    // /< Subimage width (<= image.nCols - col0).
     46                       unsigned int numRows,    // /< Subimage height (<= image.nRows - row0).
     47                       unsigned int col0,       // /< Subimage col-offset (0 <= col0 < nCol).
     48                       unsigned int row0        // /< Subimage row-offset (0 <= row0 < nCol).
     49                      );
    5050
    5151/** Makes a copy of a psImage
     
    5555 *
    5656 */
    57 psImage *psImageCopy(
    58     psImage* restrict output,
    59     /**< if not NULL, a psImage that could be recycled.  If it can not be used,
    60      *   it will be freed via psImageFree
    61      */
    62     const psImage *input,
    63     /**< the psImage to copy */
    64     psElemType type
    65     /**< the desired datatype of the returned copy */
    66 );
     57psImage *psImageCopy(psImage * restrict output,
    6758
    68 psVector* psImageSlice(
    69     psVector* out,
    70     psVector* slicePositions,
    71     const psImage* restrict input,
    72     const psImage* restrict mask,
    73     unsigned int maskVal,
    74     unsigned int col,
    75     unsigned int row,
    76     unsigned int numCols,
    77     unsigned int numRows,
    78     psImageCutDirection direction,
    79     const psStats* stats
    80 );
     59                     /**< if not NULL, a psImage that could be recycled.  If it can not be used,
     60                      *   it will be freed via psImageFree
     61                      */
     62                     const psImage * input,
    8163
    82 psVector* psImageCut(
    83     psVector* out,
    84     const psImage* input,
    85     const psImage* restrict mask,
    86     unsigned int maskVal,
    87     float startCol,
    88     float startRow,
    89     float endCol,
    90     float endRow,
    91     float width,
    92     const psStats* stats
    93 );
     64                     /**< the psImage to copy */
     65                     psElemType type
    9466
    95 psVector* psImageRadialCut(
    96     psVector* out,
    97     const psImage* input,
    98     const psImage* restrict mask,
    99     unsigned int maskVal,
    100     float centerCol,
    101     float centerRow,
    102     const psVector* radii,
    103     const psStats* stats
    104 );
     67                     /**< the desired datatype of the returned copy */
     68                    );
     69
     70psVector *psImageSlice(psVector * out,
     71                       psVector * slicePositions,
     72                       const psImage * restrict input,
     73                       const psImage * restrict mask,
     74                       unsigned int maskVal,
     75                       unsigned int col,
     76                       unsigned int row,
     77                       unsigned int numCols,
     78                       unsigned int numRows, psImageCutDirection direction, const psStats * stats);
     79
     80psVector *psImageCut(psVector * out,
     81                     const psImage * input,
     82                     const psImage * restrict mask,
     83                     unsigned int maskVal,
     84                     float startCol,
     85                     float startRow, float endCol, float endRow, float width, const psStats * stats);
     86
     87psVector *psImageRadialCut(psVector * out,
     88                           const psImage * input,
     89                           const psImage * restrict mask,
     90                           unsigned int maskVal,
     91                           float centerCol, float centerRow, const psVector * radii, const psStats * stats);
    10592
    10693/// @}
Note: See TracChangeset for help on using the changeset viewer.