Ocean
Loading...
Searching...
No Matches
Ocean::CV::NonMaximumSuppression Class Reference

This class provides base functionality and type definitions for non-maximum-suppression operations. More...

#include <NonMaximumSuppression.h>

Inheritance diagram for Ocean::CV::NonMaximumSuppression:

Data Structures

class  StrengthPosition
 This class extends a 2D position by a third parameter storing a strength value. More...
 

Public Types

enum  SuppressionMode : uint32_t { SM_MAXIMUM , SM_MINIMUM , SM_MAXIMUM_POSITIVE_ONLY , SM_MINIMUM_NEGATIVE_ONLY }
 Definition of individual suppression modes for extremum search. More...
 
enum  RefinementStatus : uint32_t {
  RS_INVALID = 0u , RS_DIVERGED , RS_BORDER , RS_MAX_ITERATIONS ,
  RS_CONVERGED
}
 Definition of individual refinement status values for iterative sub-pixel peak refinement. More...
 
template<typename TCoordinate , typename TStrength >
using StrengthPositions = std::vector< StrengthPosition< TCoordinate, TStrength > >
 Definition of a vector holding strength pixel positions.
 

Detailed Description

This class provides base functionality and type definitions for non-maximum-suppression operations.

It defines common types like StrengthPosition and StrengthPositions used by the template class NonMaximumSuppressionT.

See also
NonMaximumSuppressionT

Member Typedef Documentation

◆ StrengthPositions

template<typename TCoordinate , typename TStrength >
using Ocean::CV::NonMaximumSuppression::StrengthPositions = std::vector<StrengthPosition<TCoordinate, TStrength> >

Definition of a vector holding strength pixel positions.

Member Enumeration Documentation

◆ RefinementStatus

Definition of individual refinement status values for iterative sub-pixel peak refinement.

Enumerator
RS_INVALID 

Invalid status, no refinement was applied.

RS_DIVERGED 

The fitted offset exceeded the step size, indicating divergence.

RS_BORDER 

The sample position fell outside the frame bounds.

RS_MAX_ITERATIONS 

The refinement did not converge within the maximum number of iterations.

RS_CONVERGED 

The refinement converged, the offset is below the convergence threshold.

◆ SuppressionMode

Definition of individual suppression modes for extremum search.

Enumerator
SM_MAXIMUM 

Finds the maximum values, any value is allowed.

SM_MINIMUM 

Finds the minimum values, any value is allowed.

SM_MAXIMUM_POSITIVE_ONLY 

Finds the maximum values, only positive values are allowed (> 0).

SM_MINIMUM_NEGATIVE_ONLY 

Finds the minimum values, only negative values are allowed (< 0).


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