|
degate 0.1.1
|
#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.
Functions | |
| 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) |
| bool compare_correlation | ( | TemplateMatching::match_found const & | lhs, |
| TemplateMatching::match_found const & | rhs | ||
| ) |
Definition at line 233 of file TemplateMatching.cc.
References degate::TemplateMatching::match_found::correlation.
Referenced by degate::TemplateMatching::run(), and degate::ViaMatching::scan().
{
return lhs.correlation > rhs.correlation;
}

| bool compare_template_size | ( | const GateTemplate_shptr | lhs, |
| const GateTemplate_shptr | rhs | ||
| ) |
Definition at line 229 of file TemplateMatching.cc.
Referenced by degate::TemplateMatching::set_templates().
{
return lhs->get_width() * lhs->get_height() > rhs->get_width() * rhs->get_height();
}

1.7.4