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

Function to draw a representation of each match onto an image. More...

#include <vxl_config.h>
#include <vimt/vimt_image_2d_of.h>

Go to the source code of this file.

Functions

void mfpf_draw_matches (const mfpf_point_finder &pf, const vimt_image_2d_of< float > &image, const mfpf_pose_set &matches, unsigned m_draw, vimt_image_2d_of< vxl_byte > &out_image)
 Draws first n_draw matches (defined by poses) into out_image.

Detailed Description

Function to draw a representation of each match onto an image.

Author:
Tim Cootes

Definition in file mfpf_draw_matches.h.


Function Documentation

void mfpf_draw_matches ( const mfpf_point_finder pf,
const vimt_image_2d_of< float > &  image,
const mfpf_pose_set matches,
unsigned  n_draw,
vimt_image_2d_of< vxl_byte > &  out_image 
)

Draws first n_draw matches (defined by poses) into out_image.

Shape to draw defined by pf.get_outline(pts). Matches assumed to be sorted by fit quality. Best is drawn in white (255), subsequent matches use increasingly dark shade of grey.

Shape to draw defined by pf.get_outline(pts)

Definition at line 16 of file mfpf_draw_matches.cxx.