Changeset 1407 for trunk/psLib/src/image/psImageExtraction.h
- Timestamp:
- Aug 6, 2004, 2:06:06 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageExtraction.h (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageExtraction.h
r1404 r1407 1 1 2 /** @file psImageExtraction.h 2 3 * … … 9 10 * @author Robert DeSonia, MHPCC 10 11 * 11 * @version $Revision: 1. 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-08-0 6 21:50:13$12 * @version $Revision: 1.6 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2004-08-07 00:06:06 $ 13 14 * 14 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 16 17 17 18 #ifndef PSIMAGEEXTRACTION_H 18 # define PSIMAGEEXTRACTION_H19 # define PSIMAGEEXTRACTION_H 19 20 20 # include "psImage.h"21 # include "psVector.h"22 # include "psStats.h"21 # include "psImage.h" 22 # include "psVector.h" 23 # include "psStats.h" 23 24 24 25 /// @addtogroup Image … … 40 41 * 41 42 */ 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 ); 43 psImage *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 ); 50 50 51 51 /** Makes a copy of a psImage … … 55 55 * 56 56 */ 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 ); 57 psImage *psImageCopy(psImage * restrict output, 67 58 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, 81 63 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 94 66 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 70 psVector *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 80 psVector *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 87 psVector *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); 105 92 106 93 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
