IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Namespaces | Enumerations | Functions
Tophat1D.h File Reference

This file provide utility functions to compute a tophat threshold on a 1D signal. More...

#include <IPSDKMath/IPSDKMathExports.h>
#include <IPSDKUtil/BaseTypes.h>
#include <vector>

Go to the source code of this file.

Namespaces

 ipsdk
 Main namespace for IPSDK library.
 
 ipsdk::math
 Namespace agregating IPSDK mathematical routines and classes.
 

Enumerations

enum  ipsdk::math::eTopHat1DExtremumType { ipsdk::math::eTH1DET_Center, ipsdk::math::eTH1DET_Begin, ipsdk::math::eTH1DET_End, ipsdk::math::eTH1DET_Extremum }
 Enumerate describing the extremum type to take into account for a 1D top-hat calculation. More...
 

Functions

template<typename T >
IPSDKMATH_API ipUInt32 ipsdk::math::tophatThreshold1D (const std::vector< T > &vInBuf, const ipBool bBlack, const eTopHat1DExtremumType &extremumType, const ipReal32 calibratedHalfSize, const ipReal32 scale, const ipReal32 threshold, std::vector< ipInt32 > &vOutBuf)
 Compute the tophat threshold on a 1D signal stored in a std::vector and returns the number of detected extrama.
 

Detailed Description

This file provide utility functions to compute a tophat threshold on a 1D signal.

Author
R. Abbal
Date
2022/9/13