Functions
contrib/mul/mfpf/mfpf_sort_matches.cxx File Reference

Sorts matches so first has smallest fit. More...

#include "mfpf_sort_matches.h"
#include <mbl/mbl_index_sort.h>

Go to the source code of this file.

Functions

void mfpf_sort_matches (vcl_vector< mfpf_pose > &poses, vcl_vector< double > &fits)
 Sorts matches so first has smallest fit.
void mfpf_sort_matches (mfpf_pose_set &pose_set)
 Sorts so that pose_set.pose[0] is best fit (ie smallest fit value).

Detailed Description

Sorts matches so first has smallest fit.

Author:
Tim Cootes

Definition in file mfpf_sort_matches.cxx.


Function Documentation

void mfpf_sort_matches ( vcl_vector< mfpf_pose > &  poses,
vcl_vector< double > &  fits 
)

Sorts matches so first has smallest fit.

Sorts so that pose[0] is best fit (ie smallest fit value)

Definition at line 11 of file mfpf_sort_matches.cxx.

void mfpf_sort_matches ( mfpf_pose_set pose_set)

Sorts so that pose_set.pose[0] is best fit (ie smallest fit value).

Definition at line 26 of file mfpf_sort_matches.cxx.