Definition in file fhs_match_tree_model.cxx.
#include <vul/vul_arg.h>
#include <vimt/vimt_image_2d_of.h>
#include <vimt/vimt_gaussian_pyramid_builder_2d.h>
#include <vimt/vimt_image_pyramid.h>
#include <vimt/vimt_crop.h>
#include <mbl/mbl_read_props.h>
#include <vil/vil_load.h>
#include <vul/vul_string.h>
#include <vcl_algorithm.h>
#include <vil/vil_save.h>
#include <vil/vil_fill.h>
#include <vil/vil_crop.h>
#include <vil/vil_math.h>
#include <vil/vil_convert.h>
#include <vil/vil_resample_bilin.h>
#include <vnl/vnl_math.h>
#include <fhs/fhs_searcher.h>
#include <vimt/algo/vimt_normalised_correlation_2d.h>
#include <mbl/mbl_draw_line.h>
Go to the source code of this file.
Classes | |
| class | fhs_model_params |
Functions | |
| void | print_usage () |
| bool | parse_param_file (const vcl_string ¶m_path, fhs_model_params ¶ms) |
| bool | fhs_load_points (const vcl_string &path, vcl_vector< vgl_point_2d< double > > &pts) |
| Load in points in ISBE points format. | |
| bool | fhs_load_arcs (const vcl_string &path, vcl_vector< vcl_pair< int, int > > &pairs) |
| Load in pairs of indices indicating connections between points. | |
| void | extract_normalised_patches (const vimt_image &image, const vcl_vector< vgl_point_2d< double > > &pts, int half_width, vcl_vector< vil_image_view< float > > &patch, vcl_vector< vgl_point_2d< double > > &ref_pts) |
| Sample normalised patches around each point. | |
| void | draw_tree (vil_image_view< vxl_byte > &image, const vcl_vector< vgl_point_2d< double > > &pts, const vcl_vector< vcl_pair< int, int > > &pairs) |
| void | vimt_resample (const vimt_image_2d_of< float > &src_im, int src_L, vimt_image_2d_of< float > &dest_im, int dest_L) |
| Generate a new image with resolution suitable for dest_L. | |
| int | main (int argc, char *argv[]) |
|
||||||||||||||||
|
Definition at line 259 of file fhs_match_tree_model.cxx. |
|
||||||||||||||||||||||||
|
Sample normalised patches around each point. Extract patches with given half-width around each pts[i] When near an image edge, patch may be truncated ref_pts defines position of original point relative to the patch origin Definition at line 224 of file fhs_match_tree_model.cxx. |
|
||||||||||||
|
Load in pairs of indices indicating connections between points. File format: Each line contains two integers Definition at line 192 of file fhs_match_tree_model.cxx. |
|
||||||||||||
|
Load in points in ISBE points format. eg: n_points: 12 { 1 2 3 4 .... } Definition at line 132 of file fhs_match_tree_model.cxx. |
|
||||||||||||
|
Definition at line 299 of file fhs_match_tree_model.cxx. |
|
||||||||||||
|
Definition at line 66 of file fhs_match_tree_model.cxx. |
|
|
Definition at line 41 of file fhs_match_tree_model.cxx. |
|
||||||||||||||||||||
|
Generate a new image with resolution suitable for dest_L. Requires dest_L>src_L, else dest_im is a (shallow) copy of src_im Definition at line 279 of file fhs_match_tree_model.cxx. |
1.4.4