Functions
contrib/mul/mfpf/mfpf_prune_overlaps.h File Reference

Function to remove any overlapping matching responses. More...

#include <mfpf/mfpf_point_finder.h>

Go to the source code of this file.

Functions

void mfpf_prune_overlaps (mfpf_point_finder &pf, vcl_vector< mfpf_pose > &poses, vcl_vector< double > &fits)
 Remove any overlapping matching responses (retaining best fit).
void mfpf_find_overlaps (mfpf_point_finder &pf, const vcl_vector< mfpf_pose > &poses, const mfpf_pose &pose, vcl_vector< unsigned > &overlaps)
 Find list of poses overlapping given pose.
bool mfpf_any_overlaps (mfpf_point_finder &pf, const vcl_vector< mfpf_pose > &poses, const mfpf_pose &pose)
 Return true if pose overlaps with any of poses.
void mfpf_prune_and_sort_overlaps (mfpf_point_finder &pf, vcl_vector< mfpf_pose > &poses, vcl_vector< double > &fits, unsigned max_n=0)
 Sort responses and return list of non-overlapping responses.

Detailed Description

Function to remove any overlapping matching responses.

Author:
Tim Cootes

Definition in file mfpf_prune_overlaps.h.


Function Documentation

bool mfpf_any_overlaps ( mfpf_point_finder pf,
const vcl_vector< mfpf_pose > &  poses,
const mfpf_pose pose 
)

Return true if pose overlaps with any of poses.

Definition at line 125 of file mfpf_prune_overlaps.cxx.

void mfpf_find_overlaps ( mfpf_point_finder pf,
const vcl_vector< mfpf_pose > &  poses,
const mfpf_pose pose,
vcl_vector< unsigned > &  overlaps 
)

Find list of poses overlapping given pose.

Definition at line 10 of file mfpf_prune_overlaps.cxx.

void mfpf_prune_and_sort_overlaps ( mfpf_point_finder pf,
vcl_vector< mfpf_pose > &  poses,
vcl_vector< double > &  fits,
unsigned  max_n 
)

Sort responses and return list of non-overlapping responses.

If max_n>0 then return at most max_n

Definition at line 139 of file mfpf_prune_overlaps.cxx.

void mfpf_prune_overlaps ( mfpf_point_finder pf,
vcl_vector< mfpf_pose > &  poses,
vcl_vector< double > &  fits 
)

Remove any overlapping matching responses (retaining best fit).

Definition at line 104 of file mfpf_prune_overlaps.cxx.