contrib/mul/mfpf/mfpf_add_all_loaders.cxx
Go to the documentation of this file.
00001 #include "mfpf_add_all_loaders.h"
00002 //:
00003 // \file
00004 #include <mbl/mbl_cloneables_factory.h>
00005 #include <mfpf/mfpf_edge_finder.h>
00006 #include <mfpf/mfpf_edge_finder_builder.h>
00007 #include <mfpf/mfpf_norm_corr1d.h>
00008 #include <mfpf/mfpf_norm_corr1d_builder.h>
00009 #include <mfpf/mfpf_norm_corr2d.h>
00010 #include <mfpf/mfpf_norm_corr2d_builder.h>
00011 #include <mfpf/mfpf_grad_corr2d.h>
00012 #include <mfpf/mfpf_grad_corr2d_builder.h>
00013 #include <mfpf/mfpf_profile_pdf.h>
00014 #include <mfpf/mfpf_profile_pdf_builder.h>
00015 #include <mfpf/mfpf_region_pdf.h>
00016 #include <mfpf/mfpf_region_pdf_builder.h>
00017 #include <mfpf/mfpf_region_finder.h>
00018 #include <mfpf/mfpf_region_finder_builder.h>
00019 #include <mfpf/mfpf_lin_clsfy_finder_builder.h>
00020 #include <mfpf/mfpf_sad_vec_cost.h>
00021 #include <mfpf/mfpf_sad_vec_cost_builder.h>
00022 #include <mfpf/mfpf_ssd_vec_cost.h>
00023 #include <mfpf/mfpf_ssd_vec_cost_builder.h>
00024 #include <mfpf/mfpf_log_lin_class_cost.h>
00025 
00026 #include <mfpf/mfpf_hog_box_finder.h>
00027 #include <mfpf/mfpf_hog_box_finder_builder.h>
00028 
00029 #include <mfpf/mfpf_region_about_pt.h>
00030 #include <mfpf/mfpf_region_about_lineseg.h>
00031 
00032 #include <vpdfl/vpdfl_add_all_binary_loaders.h>
00033 
00034 //: Add all binary loaders and factory objects for mfpf library
00035 void mfpf_add_all_loaders()
00036 {
00037   vpdfl_add_all_binary_loaders();
00038 
00039   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_edge_finder_builder());
00040   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_norm_corr1d_builder());
00041   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_norm_corr2d_builder());
00042   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_grad_corr2d_builder());
00043   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_profile_pdf_builder());
00044   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_region_pdf_builder());
00045   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_region_finder_builder());
00046   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_hog_box_finder_builder());
00047   mbl_cloneables_factory<mfpf_point_finder_builder>::add(mfpf_lin_clsfy_finder_builder());
00048 
00049   vsl_add_to_binary_loader(mfpf_edge_finder_builder());
00050   vsl_add_to_binary_loader(mfpf_norm_corr1d_builder());
00051   vsl_add_to_binary_loader(mfpf_grad_corr2d_builder());
00052   vsl_add_to_binary_loader(mfpf_profile_pdf_builder());
00053   vsl_add_to_binary_loader(mfpf_region_pdf_builder());
00054   vsl_add_to_binary_loader(mfpf_region_finder_builder());
00055   vsl_add_to_binary_loader(mfpf_hog_box_finder_builder());
00056   vsl_add_to_binary_loader(mfpf_lin_clsfy_finder_builder());
00057 
00058   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_edge_finder());
00059   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_norm_corr1d());
00060   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_norm_corr2d());
00061   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_grad_corr2d());
00062   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_profile_pdf());
00063   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_region_pdf());
00064   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_region_finder());
00065   mbl_cloneables_factory<mfpf_point_finder>::add(mfpf_hog_box_finder());
00066   vsl_add_to_binary_loader(mfpf_edge_finder());
00067   vsl_add_to_binary_loader(mfpf_norm_corr1d());
00068   vsl_add_to_binary_loader(mfpf_norm_corr2d());
00069   vsl_add_to_binary_loader(mfpf_grad_corr2d());
00070   vsl_add_to_binary_loader(mfpf_profile_pdf());
00071   vsl_add_to_binary_loader(mfpf_region_pdf());
00072   vsl_add_to_binary_loader(mfpf_region_finder());
00073   vsl_add_to_binary_loader(mfpf_hog_box_finder());
00074 
00075   mbl_cloneables_factory<mfpf_vec_cost_builder>::add(mfpf_sad_vec_cost_builder());
00076   mbl_cloneables_factory<mfpf_vec_cost_builder>::add(mfpf_ssd_vec_cost_builder());
00077   vsl_add_to_binary_loader(mfpf_sad_vec_cost_builder());
00078   vsl_add_to_binary_loader(mfpf_sad_vec_cost());
00079   vsl_add_to_binary_loader(mfpf_ssd_vec_cost_builder());
00080   vsl_add_to_binary_loader(mfpf_ssd_vec_cost());
00081   vsl_add_to_binary_loader(mfpf_log_lin_class_cost());
00082 
00083   mbl_cloneables_factory<mfpf_region_definer>::add(mfpf_region_about_pt());
00084   mbl_cloneables_factory<mfpf_region_definer>::add(mfpf_region_about_lineseg());
00085 
00086   vsl_add_to_binary_loader(mfpf_region_about_pt());
00087   vsl_add_to_binary_loader(mfpf_region_about_lineseg());
00088 
00089 
00090 }