1 /**********
2 *
3 * This file is part of the TINA Open Source Image Analysis Environment
4 * henceforth known as TINA
5 *
6 * TINA is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation.
9 *
10 * TINA is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with TINA; if not, write to the Free Software Foundation, Inc.,
17 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 **********
20 *
21 * Program : TINA
22 * File : $Source: /home/tina/cvs/tina-libs/tina/vision/visPgh_hist.h,v $
23 * Date : $Date: 2003/10/06 12:29:48 $
24 * Version : $Revision: 1.3 $
25 * CVS Id : $Id: visPgh_hist.h,v 1.3 2003/10/06 12:29:48 neil Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes :
30 *
31 *********
32 */
33
34 #ifndef TINA_VIS_PGH_HIST_HDR
35 #define TINA_VIS_PGH_HIST_HDR
36
37 #include <tina/image/img_GenDef.h>
38 #include <tina/math/math_GeomDef.h>
39 #include <tina/geometry/geom_LineDef.h>
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
44
45 double norm_prob(double sigma,double mu,double y);
46 void init_erf(void);
47 void get_gdist(float *gdist,double angle,double bin_width,double sigma,
48 int *low_angle_bin,int *high_angle_bin);
49 void get_pdist(float *pdist,double pdmin,double pdmax,double bin_width,double ramp,
50 int *low_bin,int *high_bin);
51 void init_pairs_entry(int new_pairs_type,double newdbin_max,double newdbin_size,
52 int newnum_abin,double newangle_sigma,double newdist_ramp);
53 Imregion im_pairs_roi(void);
54 Imrect *im_pairs_alloc(void);
55 Vec2 dir_vec(Vec2 isct,Vec2 p1,Vec2 p2);
56 void compare_lines(Imrect *im,Line2 *l1,Line2 *l2,int *type);
57 void set_pairs_mirror(double new_dbin_min,double new_dbin_max,
58 double new_dbin_size,int new_num_abin,
59 float *new_pair_dist,float *new_pair_angle,
60 double new_abin_size,
61 double new_angle_sigma,double new_dist_ramp);
62 void make_entry_mirror(Imrect *im,double min_dist,double max_dist,
63 double angle,double weight);
64 void compare_lines_mirror(Imrect *im, Line2 *l1, Line2 *l2);
65 void set_pairs_rotate(double new_dbin_min, double new_dbin_max,
66 double new_dbin_size, int new_num_abin,
67 float *new_pair_dist, float *new_pair_angle,
68 double new_abin_size,
69 double new_angle_sigma, double new_dist_ramp);
70 void make_entry_rotate(Imrect *im, double min_dist, double max_dist,
71 double angle, double weight);
72 void compare_lines_rotate(Imrect *im,Line2 *l1, Line2 *l2);
73 void set_pairs_directed(double new_dbin_min, double new_dbin_max,
74 double new_dbin_size, int new_num_abin,
75 float *new_pair_dist, float *new_pair_angle,
76 double new_abin_size,
77 double new_angle_sigma, double new_dist_ramp);
78 void make_entry_directed(Imrect *im, double min_dist, double max_dist,
79 double angle, double weight);
80 void make_entry_direct(Imrect *im, double min_dist, double max_dist,
81 double angle, double weight);
82 void compare_lines_directed(Imrect *im,Line2 *l1,Line2 *l2);
83
84 #ifdef __cplusplus
85 }
86 #endif /* __cplusplus */
87 #endif /* TINA_VIS_PGH_HIST_HDR */
88
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.