Changeset 1863 for trunk/psLib/src/imageops/psImageConvolve.h
- Timestamp:
- Sep 23, 2004, 8:30:57 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageConvolve.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.h
r1653 r1863 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $10 * @date $Date: 2004-0 8-28 01:18:28$9 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2004-09-23 18:30:57 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii 13 13 */ 14 14 15 #ifndef PS_IMAGE_ FFT_H16 #define PS_IMAGE_ FFT_H15 #ifndef PS_IMAGE_CONVOLVE_H 16 #define PS_IMAGE_CONVOLVE_H 17 17 18 18 #include<stdbool.h> … … 20 20 #include "psImage.h" 21 21 #include "psVector.h" 22 #include "psType.h" 23 24 #define PS_TYPE_KERNEL PS_TYPE_F32 /**< the data member to use for kernel image */ 25 #define PS_TYPE_KERNEL_DATA F32 /**< the data member to use for kernel image */ 26 #define PS_TYPE_KERNEL_NAME "psF32" /**< the data type for kernel as a string */ 27 28 typedef psF32 psKernelType; 22 29 23 30 /** A convolution kernel */ 24 31 typedef struct 25 32 { 33 psImage* image; ///< Kernel data, in the form of an image 26 34 int xMin; ///< Most negative x index 27 35 int yMin; ///< Most negative y index 28 36 int xMax; ///< Most positive x index 29 37 int yMax; ///< Most positive y index 30 psF32** kernel; ///< Pointer to the kernel data 31 psF32** p_kernelRows; ///< Pointer to the rows of the kernel data 32 psImage* p_data; ///< Kernel data, in the form of an image 38 psKernelType** kernel; ///< Pointer to the kernel data 39 psKernelType** p_kernelRows; ///< Pointer to the rows of the kernel data; not intended for user use. 33 40 } 34 41 psKernel; … … 62 69 psKernel* psKernelAlloc( 63 70 int xMin, ///< Most negative x index 64 int xMax, ///< Most negative yindex65 int yMin, ///< Most positive xindex71 int xMax, ///< Most positive x index 72 int yMin, ///< Most negative y index 66 73 int yMax ///< Most positive y index 67 74 ); … … 84 91 */ 85 92 psKernel* psKernelGenerate( 86 const psVector* xShifts, ///< list of shifts relative to a reference point 87 const psVector* yShifts ///< list of shifts relative to a reference point 93 const psVector* tShifts, ///< list of time shifts 94 const psVector* xShifts, ///< list of x-axis shifts 95 const psVector* yShifts, ///< list of y-axis shifts 96 bool relative 88 97 ); 89 98
Note:
See TracChangeset
for help on using the changeset viewer.
