IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
KernelUtils.h
Go to the documentation of this file.
1 // KernelUtils.h:
3 // --------------
4 //
14 
15 #ifndef __IPSDKBASEDATA_KERNELUTILS_H__
16 #define __IPSDKBASEDATA_KERNELUTILS_H__
17 
21 
22 namespace ipsdk {
23 
26 
33 squareKernelXY(const ipUInt32 halfKernelSize,
34  const Real32Vector& valueColl,
35  const ipBool bKeepNullValue = false);
36 
43 rectangularKernelXY(const ipUInt32 halfKernelSizeX,
44  const ipUInt32 halfKernelSizeY,
45  const Real32Vector& valueColl,
46  const ipBool bKeepNullValue = false);
47 
59 linearKernelXY(const ipReal32 theta,
60  const Real32Vector& valueColl,
61  const ipBool bKeepNullValue = false);
62 
73  const Real32Vector& valueColl,
74  const ipBool bKeepNullValue = false);
75 
83 cubicKernelXYZ(const ipUInt32 halfKernelSize,
84  const Real32Vector& valueColl,
85  const ipBool bKeepNullValue = false);
86 
94 rectangularKernelXYZ(const ipUInt32 halfKernelSizeX,
95  const ipUInt32 halfKernelSizeY,
96  const ipUInt32 halfKernelSizeZ,
97  const Real32Vector& valueColl,
98  const ipBool bKeepNullValue = false);
99 
110 linearKernelXYZ(const ipReal32 theta,
111  const ipReal32 phi,
112  const Real32Vector& valueColl,
113  const ipBool bKeepNullValue = false);
114 
125  const ipReal32 phi,
126  const Real32Vector& valueColl,
127  const ipBool bKeepNullValue = false);
128 
131 
132 } // end of namespace ipsdk
133 
134 #endif // __IPSDKBASEDATA_KERNELUTILS_H__
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
IPSDKBASEDATA_API KernelXYPtr linearKernelXY(const ipReal32 theta, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a linear oriented XY kernel with a given number of elements.
boost::shared_ptr< KernelXYZ > KernelXYZPtr
shared pointer to KernelXYZ
Definition: KernelTypes.h:55
std::vector< ipReal32 > Real32Vector
stl vector collections
Definition: BaseCollections.h:36
Definition of import/export macro for library.
IPSDKBASEDATA_API KernelXYZPtr linearInterpolatedKernelXYZ(const ipReal32 theta, const ipReal32 phi, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a linear oriented XYZ kernel with interpolated coefficients.
IPSDKBASEDATA_API KernelXYZPtr rectangularKernelXYZ(const ipUInt32 halfKernelSizeX, const ipUInt32 halfKernelSizeY, const ipUInt32 halfKernelSizeZ, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a rectangular parallelepiped XYZ kernel
boost::shared_ptr< KernelXY > KernelXYPtr
shared pointer to KernelXY
Definition: KernelTypes.h:48
IPSDKBASEDATA_API KernelXYZPtr cubicKernelXYZ(const ipUInt32 halfKernelSize, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a cubic XYZ kernel
Predefined base collection types for library.
bool ipBool
Base types definition.
Definition: BaseTypes.h:47
IPSDKBASEDATA_API KernelXYPtr rectangularKernelXY(const ipUInt32 halfKernelSizeX, const ipUInt32 halfKernelSizeY, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a rectangular XY kernel
IPSDKBASEDATA_API KernelXYPtr linearInterpolatedKernelXY(const ipReal32 theta, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a linear oriented XY kernel with interpolated coefficients.
Predefined types for kernel management.
#define IPSDKBASEDATA_API
Import/Export macro for library IPSDKUtil.
Definition: IPSDKBaseDataExports.h:27
IPSDKBASEDATA_API KernelXYPtr squareKernelXY(const ipUInt32 halfKernelSize, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a square XY kernel
IPSDKBASEDATA_API KernelXYZPtr linearKernelXYZ(const ipReal32 theta, const ipReal32 phi, const Real32Vector &valueColl, const ipBool bKeepNullValue=false)
function allowing to generate a linear oriented XYZ kernel with a given number of elements...
float ipReal32
Base types definition.
Definition: BaseTypes.h:56
uint32_t ipUInt32
Base types definition.
Definition: BaseTypes.h:53