SMIL  1.0.4
MorphImageFunction< T_in, lineFunction_T, T_out, Enable > Class Template Reference
+ Inheritance diagram for MorphImageFunction< T_in, lineFunction_T, T_out, Enable >:
+ Collaboration diagram for MorphImageFunction< T_in, lineFunction_T, T_out, Enable >:

Public Types

typedef MorphImageFunctionBase< T_in, T_out > parentClass
 
typedef Image< T_in > imageInType
 
typedef ImDtTypes< T_in >::lineType lineInType
 
typedef ImDtTypes< T_in >::sliceType sliceInType
 
typedef ImDtTypes< T_in >::volType volInType
 
typedef Image< T_out > imageOutType
 
typedef ImDtTypes< T_out >::lineType lineOutType
 
typedef ImDtTypes< T_out >::sliceType sliceOutType
 
typedef ImDtTypes< T_out >::volType volOutType
 
- Public Types inherited from MorphImageFunctionBase< T_in, T_in >
typedef Image< T_in > imageInType
 
typedef ImDtTypes< T_in >::lineType lineInType
 
typedef ImDtTypes< T_in >::sliceType sliceInType
 
typedef ImDtTypes< T_in >::volType volInType
 
typedef Image< T_in > imageOutType
 
typedef ImDtTypes< T_in >::lineType lineOutType
 
typedef ImDtTypes< T_in >::sliceType sliceOutType
 
typedef ImDtTypes< T_in >::volType volOutType
 
- Public Types inherited from imageFunctionBase< T_in >
typedef Image< T_in > imageType
 
typedef imageType::sliceType sliceType
 
typedef imageType::lineType lineType
 
typedef imageType::pixelType pixelType
 

Public Member Functions

 MorphImageFunction (T_in border=ImDtTypes< T_in >::min(), T_out initialValue=ImDtTypes< T_out >::min())
 
virtual RES_T initialize (const imageInType &imIn, imageOutType &imOut, const StrElt &se)
 
virtual RES_T finalize (const imageInType &imIn, imageOutType &imOut, const StrElt &se)
 
- Public Member Functions inherited from MorphImageFunctionBase< T_in, T_in >
 MorphImageFunctionBase (T_in _borderValue=ImDtTypes< T_in >::min(), T_in _initialValue=ImDtTypes< T_in >::min())
 
RES_T operator() (const imageInType &imIn, imageOutType &imOut, const StrElt &se=DEFAULT_SE)
 
RES_T operator() (const imageInType &imIn, const StrElt &se=DEFAULT_SE)
 
virtual RES_T _exec (const imageInType &imIn, const StrElt &se)
 
virtual RES_T processImage (const imageInType &imIn, imageOutType &imOut, const StrElt &se)
 
virtual void processSlice (sliceInType linesIn, sliceOutType linesOut, size_t &lineNbr, const StrElt &se)
 
virtual void processLine (lineInType pixIn, lineOutType pixOut, size_t &pixNbr, const StrElt &se)
 
virtual void processPixel (size_t pointOffset, vector< int > &dOffsets)
 
virtual void processPixel (IntPoint &point, vector< IntPoint > &dOffsets)
 
- Public Member Functions inherited from imageFunctionBase< T_in >
lineType * createAlignedBuffers (size_t nbr, size_t len)
 
void deleteAlignedBuffers ()
 
void copyLineToBuffer (T_in *line, size_t bufIndex)
 
void copyBufferToLine (size_t bufIndex, T_in *line)
 
 operator RES_T ()
 

Static Public Member Functions

static bool isInplaceSafe (const StrElt &se)
 ‍****************************************************************************** ‍****************************************************************************** ‍****************************************************************************** ‍******************************************************************************
 
- Static Public Member Functions inherited from MorphImageFunctionBase< T_in, T_in >
static bool isInplaceSafe (const StrElt &)
 

Protected Member Functions

virtual RES_T _exec (const imageInType &imIn, imageOutType &imOut, const StrElt &se)
 
virtual RES_T _exec_single (const imageInType &, imageOutType &, const StrElt &)
 
void _extract_translated_line (const Image< T_in > *imIn, const int &x, const int &y, const int &z, lineInType outBuf)
 
void _exec_line (const lineInType inBuf, const Image< T_in > *imIn, const int &x, const int &y, const int &z, lineOutType outBuf)
 
void _exec_shifted_line (const lineInType inBuf1, const lineInType inBuf2, const int &dx, const int &lineLen, lineOutType outBuf, lineInType tmpBuf)
 
template<class T1 , class T2 >
void _exec_shifted_line (const typename ImDtTypes< T1 >::lineType inBuf1, const typename ImDtTypes< T1 >::lineType inBuf2, const int &dx, const int &lineLen, typename ImDtTypes< T2 >::lineType outBuf)
 
template<class T1 , class T2 >
void _exec_shifted_line (const typename ImDtTypes< T1 >::lineType inBuf, const int &dx, const int &lineLen, typename ImDtTypes< T2 >::lineType outBuf, typename ImDtTypes< T1 >::lineType tmpBuf)
 
template<class T1 , class T2 >
void _exec_shifted_line (const typename ImDtTypes< T1 >::lineType inBuf, const int &dx, const int &lineLen, typename ImDtTypes< T2 >::lineType outBuf)
 
void _exec_shifted_line_2ways (lineInType inBuf1, lineInType inBuf2, const int &dx, const int &lineLen, lineOutType outBuf, lineInType tmpBuf)
 
void _exec_shifted_line_2ways (const lineInType inBuf, const int &dx, const int &lineLen, lineOutType outBuf, lineInType tmpBuf=NULL)
 

Protected Attributes

lineFunction_T lineFunction
 
lineInType borderBuf
 
lineInType cpBuf
 
size_t lineLen
 
- Protected Attributes inherited from MorphImageFunctionBase< T_in, T_in >
size_t imSize [3]
 
volInType slicesIn
 
volOutType slicesOut
 
lineInType pixelsIn
 
lineOutType pixelsOut
 
vector< IntPointsePoints
 
UINT sePointNbr
 
vector< int > relativeOffsets
 
int se_xmin
 
int se_xmax
 
int se_ymin
 
int se_ymax
 
int se_zmin
 
int se_zmax
 
bool oddSe
 

Additional Inherited Members

- Public Attributes inherited from MorphImageFunctionBase< T_in, T_in >
const Image< T_in > * imageIn
 
Image< T_in > * imageOut
 
T_in initialValue
 
T_in borderValue
 
- Public Attributes inherited from imageFunctionBase< T_in >
sliceType alignedBuffers
 
size_t bufferNumber
 
size_t bufferLength
 
size_t bufferSize
 
RES_T retVal
 

The documentation for this class was generated from the following files: