$search
00001 /* 00002 * one_way_outlets.h 00003 * online_patch 00004 * 00005 * Created by Victor Eruhimov on 5/16/09. 00006 * Copyright 2009 Argus Corp. All rights reserved. 00007 * 00008 */ 00009 00010 #if !defined(_ONE_WAY_OUTLET) 00011 #define _ONE_WAY_OUTLET 00012 00013 #include <vector> 00014 #include <cv.h> 00015 #include "features.h" 00016 #include "one_way_descriptor.h" 00017 #include "one_way_descriptor_base.h" 00018 #include "outlet_model.h" 00019 00020 00021 void detect_outlets_2x1_one_way(IplImage* img, const CvOneWayDescriptorObject* descriptors, 00022 std::vector<feature_t>& features, IplImage* color, 00023 const char* output_path = 0, const char* output_filename = 0); 00024 00025 00026 void detect_outlets_one_way(IplImage* test_image, const outlet_template_t& outlet_template, 00027 std::vector<outlet_t>& holes, IplImage* color_image, 00028 const char* output_path, const char* output_filename,float* scale_ranges = 0); 00029 00030 float matchOutlets(const std::vector<KeyPointEx>& test_points, const outlet_template_t& outlet_template, 00031 const std::vector<KeyPointEx>& template_points, std::vector<outlet_t>& outlets); 00032 00033 #endif //_ONE_WAY_OUTLET