00001 #ifndef mfpf_sort_matches_h_ 00002 #define mfpf_sort_matches_h_ 00003 //: 00004 // \file 00005 // \brief Sorts matches so first has smallest fit 00006 // \author Tim Cootes 00007 00008 #include <mfpf/mfpf_pose_set.h> 00009 00010 //: Sorts matches so first has smallest fit 00011 // Sorts so that pose[0] is best fit (ie smallest fit value) 00012 void mfpf_sort_matches(vcl_vector<mfpf_pose>& poses, 00013 vcl_vector<double>& fits); 00014 00015 //: Sorts so that pose_set.pose[0] is best fit (ie smallest fit value) 00016 void mfpf_sort_matches(mfpf_pose_set& pose_set); 00017 00018 #endif // mfpf_sort_matches_h_