degate  0.1.2
Functions File Reference
#include <TemplateMatching.h>
#include <Image.h>
#include <globals.h>
#include <algorithm>
#include <Statistics.h>
#include <ImageHelper.h>
#include <MedianFilter.h>
#include <DegateHelper.h>
#include <utility>
#include <boost/foreach.hpp>
#include <math.h>

Go to the source code of this file.


bool compare_template_size (const GateTemplate_shptr lhs, const GateTemplate_shptr rhs)
bool compare_correlation (TemplateMatching::match_found const &lhs, TemplateMatching::match_found const &rhs)

Function Documentation

Definition at line 233 of file

References degate::TemplateMatching::match_found::correlation.

Referenced by degate::TemplateMatching::run(), and degate::ViaMatching::scan().

  return lhs.correlation > rhs.correlation;

Here is the caller graph for this function:

bool compare_template_size ( const GateTemplate_shptr  lhs,
const GateTemplate_shptr  rhs 

Definition at line 229 of file

Referenced by degate::TemplateMatching::set_templates().

  return lhs->get_width() * lhs->get_height() > rhs->get_width() * rhs->get_height();

Here is the caller graph for this function: