MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions | Protected Attributes
mds::img::CUserFunc< T > Class Template Reference

Policy for image filter response normalization. More...

#include <mdsFilterPolicy.h>

Inheritance diagram for mds::img::CUserFunc< T >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef CFilterPolicy< T > tBase
 Base types.
typedef tBase::tFilterResponse tFilterResponse
 Filter response type.
typedef tPixel(* tNormFunc )(tFilterResponse)
 Type of the normalization function.
typedef tBase::tPixel tPixel
 Pixel type.

Public Member Functions

 CUserFunc (tNormFunc Func=CConvResponse< T >::normalize)
 Default constructor.
tPixel normalize (tFilterResponse Value)
 Point response normalization function.
void setNormFunc (tNormFunc Func)
 Sets the normalization function.

Protected Attributes

tNormFunc m_NormFunc
 Pointer to the concrete normalization function.

Detailed Description

template<typename T>
class mds::img::CUserFunc< T >

Policy for image filter response normalization.


Member Typedef Documentation

template<typename T >
typedef CFilterPolicy<T> mds::img::CUserFunc< T >::tBase

Base types.

template<typename T >
typedef tBase::tFilterResponse mds::img::CUserFunc< T >::tFilterResponse

Filter response type.

Reimplemented from mds::img::CFilterPolicy< T >.

template<typename T >
typedef tPixel(* mds::img::CUserFunc< T >::tNormFunc)(tFilterResponse)

Type of the normalization function.

template<typename T >
typedef tBase::tPixel mds::img::CUserFunc< T >::tPixel

Pixel type.

Reimplemented from mds::img::CFilterPolicy< T >.


Constructor & Destructor Documentation

template<typename T >
mds::img::CUserFunc< T >::CUserFunc ( tNormFunc  Func = CConvResponse<T>::normalize)

Default constructor.


Member Function Documentation

template<typename T >
tPixel mds::img::CUserFunc< T >::normalize ( tFilterResponse  Value)

Point response normalization function.

template<typename T >
void mds::img::CUserFunc< T >::setNormFunc ( tNormFunc  Func)

Sets the normalization function.


Member Data Documentation

template<typename T >
tNormFunc mds::img::CUserFunc< T >::m_NormFunc [protected]

Pointer to the concrete normalization function.


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