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/visShape_hough2.h,v $
23 * Date : $Date: 2003/10/06 12:29:48 $
24 * Version : $Revision: 1.3 $
25 * CVS Id : $Id: visShape_hough2.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_SHAPE_HOUGH2_HDR
35 #define TINA_VIS_SHAPE_HOUGH2_HDR
36
37 #include <tina/sys/sysDef.h>
38 #include <tina/math/mathDef.h>
39 #include <tina/geometry/geomDef.h>
40 #include <tina/vision/vis_ShapeDef.h>
41
42 #ifdef __cplusplus
43 extern "C" {
44 #endif /* __cplusplus */
45
46 Imrect *hough2_alloc(double min_x, double min_y, double max_x, double max_y, double binsize_x, double binsize_y, Vartype type);
47 int hough2_extend_line(Line2 *line, Imrect *hough2);
48 void hough2_plot_line(Line2 *line, Imrect *hough2, double weight);
49 void y_based_plot(double y0, double y1, double x0, double grad, Imrect *hough2, double weight);
50 void x_based_plot(double x0, double x1, double y0, double grad, Imrect *hough2, double weight);
51 double im_get_quadcovar(Imrect * image, double x, double y, float *px, float *py
52 , Mat2 *C);
53 List *hough2_locate_peaks(Imrect *hough2, double thres);
54 Vec2 *hough2_locate_max_peak(Imrect *hough2, double thres);
55 double peak_func(Point2 *p);
56 void hough2_fill(Imrect *hough2, double val);
57 void hough2_plot_ellipse(Imrect *hough2, Vec2 *c, Mat2 *C,
58 double weight);
59 void sqrt_hough2(Imrect *hough2);
60
61 #ifdef __cplusplus
62 }
63 #endif /* __cplusplus */
64 #endif
65
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.