libeblearn
ebl::voting_nms Class Reference

A type of NMS that accumulates bounding boxes. More...

#include <nms.h>

Inheritance diagram for ebl::voting_nms:
ebl::nms

List of all members.

Public Member Functions

 voting_nms (float threshold, float max_overlap, float max_hcenter_dist, float max_wcenter_dist, float pre_hfact, float pre_wfact, float post_hfact, float post_wfact, float woverh, std::ostream &out=std::cout, std::ostream &err=std::cerr)
 voting_nms (float threshold, float max_overlap, float max_hcenter_dist, float max_wcenter_dist, float pre_hfact, float pre_wfact, float post_hfact, float post_wfact, float woverh, float vote_max_overlap, float vote_max_hcd, float vote_max_wcd, std::ostream &out=std::cout, std::ostream &err=std::cerr)
virtual ~voting_nms ()
 Destructor.
virtual string describe ()
 Returns a string decribing this nms.

Protected Member Functions

virtual void process (bboxes &in, bboxes &out)
 Apply nms on 'in' into 'out'.
virtual void vote_nms (bboxes &in, bboxes &out)
 Voting nms.
void dfs (bboxes &bb, vector< bool > &explored, uint i, float match, float max_center_dist, bboxes &comp)
void merge_votes (bboxes &bb)
 Merge all boxes that vote for the same location.
void prune_votes (bboxes &in, bboxes &out)
 Prune overlapping votes.

Protected Attributes

nmstnms
 Also call traditional nms if allocated.

Detailed Description

A type of NMS that accumulates bounding boxes.


Constructor & Destructor Documentation

ebl::voting_nms::voting_nms ( float  threshold,
float  max_overlap,
float  max_hcenter_dist,
float  max_wcenter_dist,
float  pre_hfact,
float  pre_wfact,
float  post_hfact,
float  post_wfact,
float  woverh,
std::ostream &  out = std::cout,
std::ostream &  err = std::cerr 
)

Constructor for voting nms only. See nms() constructor for parameters descriptions.

ebl::voting_nms::voting_nms ( float  threshold,
float  max_overlap,
float  max_hcenter_dist,
float  max_wcenter_dist,
float  pre_hfact,
float  pre_wfact,
float  post_hfact,
float  post_wfact,
float  woverh,
float  vote_max_overlap,
float  vote_max_hcd,
float  vote_max_wcd,
std::ostream &  out = std::cout,
std::ostream &  err = std::cerr 
)

Constructor for voting nms followed by traditional nms. See nms() constructor for parameters descriptions.


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