contrib/mul/mfpf/mfpf_draw_pose_cross.h
Go to the documentation of this file.
00001 #ifndef mfpf_draw_pose_cross_h_
00002 #define mfpf_draw_pose_cross_h_
00003 
00004 //:
00005 // \file
00006 // \brief Function to draw a cross on an image
00007 // \author Tim Cootes
00008 
00009 #include <vxl_config.h>  // for vxl_byte
00010 #include <vimt/vimt_image_2d_of.h>
00011 #include <mfpf/mfpf_pose.h>
00012 
00013 //: Draw oriented cross onto image, centred on pose.p()
00014 //  Orientation defined by pose.u(), size by (ru,rv)
00015 void mfpf_draw_pose_cross(vimt_image_2d_of<vxl_byte>& image,
00016                              const mfpf_pose& pose,
00017                              double ru, double rv,
00018                              vxl_byte value,unsigned width=1);
00019 
00020 //: Draw oriented cross onto 3-plane image, centred on pose.p()
00021 //  Orientation defined by pose.u(), size by (ru,rv)
00022 void mfpf_draw_pose_cross(vimt_image_2d_of<vxl_byte>& image,
00023                              const mfpf_pose& pose,
00024                              double ru, double rv,
00025                              vxl_byte r, vxl_byte g, vxl_byte b);
00026 
00027 #endif // mfpf_draw_pose_cross_h_