The blo Library
Loading...
Searching...
No Matches
Public Member Functions | Related Functions | List of all members
blo::Foerstner< T, C > Class Template Reference

Foerstner interest operator processor. More...

#include <Foerstner.h>

Public Member Functions

 Foerstner ()
 Default constructor.
 
 Foerstner (int width, int height)
 Constructs Foerstner interest operator processor of specified size work buffers.
 
 Foerstner (const Foerstner &rhs)
 Copy constructor.
 
 Foerstner (Foerstner &&rhs) noexcept
 Move constructor.
 
virtual ~Foerstner ()
 Destructor.
 
Foerstner & operator= (const Foerstner &rhs)
 Copy assignment operator.
 
Foerstner & operator= (Foerstner &&rhs) noexcept
 Move assignment operator.
 
void resize (int width, int height)
 Resizes work buffers.
 
void clear ()
 Resizes work buffers to zero width and zero height.
 
int width () const
 Width of the work buffers.
 
int height () const
 Height of the work buffers.
 
void setWinSize (int winSize)
 Sets size of the feature window.
 
int winSize () const
 Size of the feature window.
 
void calcWeightRoundness (const T *pSrcIx, int srcIxStep, const T *pSrcIy, int srcIyStep, T *pDstWeight, int dstWeightStep, T *pDstRoundness, int dstRoundnessStep, int dstRoiWidth, int dstRoiHeight)
 Calculates the weight and roundness of windows within a image.
 

Related Functions

(Note that these are not member functions.)

BLO_EXPIMP_TEMPLATE template class BLO_API Foerstner< float, 1 >
 
BLO_EXPIMP_TEMPLATE template class BLO_API Foerstner< float, 3 >
 

Detailed Description

template<typename T, size_t C>
class blo::Foerstner< T, C >

Foerstner interest operator processor.

Template Parameters
TData type.
CNumber of channels.

Constructor & Destructor Documentation

◆ Foerstner() [1/4]

template<typename T , size_t C>
blo::Foerstner< T, C >::Foerstner ( )

Default constructor.

◆ Foerstner() [2/4]

template<typename T , size_t C>
blo::Foerstner< T, C >::Foerstner ( int  width,
int  height 
)

Constructs Foerstner interest operator processor of specified size work buffers.

Parameters
widthWidth of the work buffers in pixels.
heightHeight of the work buffers in pixels.

◆ Foerstner() [3/4]

template<typename T , size_t C>
blo::Foerstner< T, C >::Foerstner ( const Foerstner< T, C > &  rhs)

Copy constructor.

◆ Foerstner() [4/4]

template<typename T , size_t C>
blo::Foerstner< T, C >::Foerstner ( Foerstner< T, C > &&  rhs)
noexcept

Move constructor.

◆ ~Foerstner()

template<typename T , size_t C>
virtual blo::Foerstner< T, C >::~Foerstner ( )
virtual

Destructor.

Member Function Documentation

◆ calcWeightRoundness()

template<typename T , size_t C>
void blo::Foerstner< T, C >::calcWeightRoundness ( const T *  pSrcIx,
int  srcIxStep,
const T *  pSrcIy,
int  srcIyStep,
T *  pDstWeight,
int  dstWeightStep,
T *  pDstRoundness,
int  dstRoundnessStep,
int  dstRoiWidth,
int  dstRoiHeight 
)

Calculates the weight and roundness of windows within a image.

Note
The input are C channel images, the output are 1 channel images.
Parameters
pSrcIxPointer to the source image x-derivative.
srcIxStepStep in bytes between the rows in the source image pSrcIx.
pSrcIyPointer to the source image y-derivative.
srcIyStepStep in bytes between the rows in the source image pSrcIy.
pDstWeightPointer to the calculated weight image.
dstWeightStepStep in bytes between the rows in the weight image.
pDstRoundnessPointer to the calculated roundness image.
dstRoundnessStepStep in bytes between the rows in the roundness image.
dstRoiWidthWidth of the destination image ROI in pixels.
dstRoiHeightHeight of the destination image ROI in pixels.

◆ clear()

template<typename T , size_t C>
void blo::Foerstner< T, C >::clear ( )

Resizes work buffers to zero width and zero height.

◆ height()

template<typename T , size_t C>
int blo::Foerstner< T, C >::height ( ) const

Height of the work buffers.

Returns
Height of the work buffers in pixels.

◆ operator=() [1/2]

template<typename T , size_t C>
Foerstner & blo::Foerstner< T, C >::operator= ( const Foerstner< T, C > &  rhs)

Copy assignment operator.

◆ operator=() [2/2]

template<typename T , size_t C>
Foerstner & blo::Foerstner< T, C >::operator= ( Foerstner< T, C > &&  rhs)
noexcept

Move assignment operator.

◆ resize()

template<typename T , size_t C>
void blo::Foerstner< T, C >::resize ( int  width,
int  height 
)

Resizes work buffers.

Parameters
widthWidth in pixels to resize work buffers to.
heightHeight in pixels to resize work buffers to.

◆ setWinSize()

template<typename T , size_t C>
void blo::Foerstner< T, C >::setWinSize ( int  winSize)

Sets size of the feature window.

Parameters
winSizeSize of the feature window.

◆ width()

template<typename T , size_t C>
int blo::Foerstner< T, C >::width ( ) const

Width of the work buffers.

Returns
Width of the work buffers in pixels.

◆ winSize()

template<typename T , size_t C>
int blo::Foerstner< T, C >::winSize ( ) const

Size of the feature window.

Returns
Size of the feature window.

Friends And Related Function Documentation

◆ Foerstner< float, 1 >

template<typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API Foerstner< float, 1 >
related

◆ Foerstner< float, 3 >

template<typename T , size_t C>
BLO_EXPIMP_TEMPLATE template class BLO_API Foerstner< float, 3 >
related

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