IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 23, 2004, 4:00:21 PM (22 years ago)
Author:
desonia
Message:

initial coding of psImageSlice and changed psImageRotate to be more inline
with ADD (mathematically equivalent).

File:
1 edited

Legend:

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

    r1267 r1292  
    99 *  @author Robert DeSonia, MHPCC
    1010 *
    11  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-07-22 20:48:44 $
     11 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-07-24 02:00:21 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    1919
    2020#include "psImage.h"
     21#include "psVector.h"
     22#include "psStats.h"
     23
     24/// @addtogroup Image
     25/// @{
     26
     27typedef enum {
     28    PS_CUT_X_POS,
     29    PS_CUT_X_NEG,
     30    PS_CUT_Y_POS,
     31    PS_CUT_Y_NEG,
     32} psImageCutDirection;
    2133
    2234/** Create a subimage of the specified area.
     
    5466);
    5567
     68psVector* psImageSlice(
     69    psVector* out,
     70    const psImage* input,
     71    const psImage* restrict mask,
     72    unsigned int maskVal,
     73    unsigned int col,
     74    unsigned int row,
     75    unsigned int numCols,
     76    unsigned int numRows,
     77    psImageCutDirection direction,
     78    const psStats* stats
     79);
     80
     81psVector* psImageCut(
     82    psVector* out,
     83    const psImage* input,
     84    const psImage* restrict mask,
     85    unsigned int maskVal,
     86    float startCol,
     87    float startRow,
     88    float endCol,
     89    float endRow,
     90    float width,
     91    const psStats* stats
     92);
     93
     94psVector* psImageRadialCut(
     95    psVector* out,
     96    const psImage* input,
     97    const psImage* restrict mask,
     98    unsigned int maskVal,
     99    float centerCol,
     100    float centerRow,
     101    const psVector* radii,
     102    const psStats* stats
     103);
     104
     105/// @}
    56106
    57107#endif
Note: See TracChangeset for help on using the changeset viewer.