X-Boost  2.3.8
Classes | Functions
NonMaximaSuppression.h File Reference

Implement a local maxima search algorithm. More...

#include <vector>

Go to the source code of this file.

Classes

struct  detail::LocalMaxima< D, FeatureListType, Param >
 The internal NM class. More...
 

Functions

template<class D , class FeatureListType , class Param >
void NonMaximaSuppression (const D *src, FeatureListType &maxima, unsigned int n, long stride, unsigned int width, unsigned int height, D threshold, Param param, int nThreads=sprint::thread::hardware_concurrency())
 

Detailed Description

Implement a local maxima search algorithm.

Function Documentation

template<class D , class FeatureListType , class Param >
void NonMaximaSuppression ( const D *  src,
FeatureListType &  maxima,
unsigned int  n,
long  stride,
unsigned int  width,
unsigned int  height,
threshold,
Param  param,
int  nThreads = sprint::thread::hardware_concurrency() 
)

Non Maxima Suppression (without mask) This algorithm find local maxima of a map src of geometry width x height Two maxima cannot be near more than n and have a value less than a threshold

Parameters
srcan image (int, double, float, etc etc)