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/geometry/geomSpline_kws_run.h,v $
23 * Date : $Date: 2002/12/09 11:51:23 $
24 * Version : $Revision: 1.1.1.1 $
25 * CVS Id : $Id: geomSpline_kws_run.h,v 1.1.1.1 2002/12/09 11:51:23 cvstina Exp $
26 *
27 * Author : Legacy TINA
28 *
29 * Notes :
30 *
31 *********
32 */
33
34 #ifndef TINA_GEOM_SPLINE_KWS_RUN_HDR
35 #define TINA_GEOM_SPLINE_KWS_RUN_HDR
36
37 #include <tina/math/mathDef.h>
38 #include <tina/image/imgDef.h>
39 #include <tina/geometry/geom_SplineDef.h>
40
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
44
45 void kwsnake_correct(Kwsnake * kwsnake, double *fx, double *fy, double dt);
46 void kwsnake_correct_maxstep(Kwsnake * kwsnake, double *dx, double *dy, double maxstep);
47 void kwsnake_correct_fullstep(Kwsnake * kwsnake, double *dx, double *dy, double fullstep);
48 Vec2 kwsnake_orth(Kwsnake * kwsnake, int i);
49 void kwsnake_external_step_orth(Kwsnake * kwsnake, float **im_orth, Vec2 * p, Vec2 * v, int n1, int n2, double step, int type);
50 void kwsnake_external_step_from_pot(Kwsnake * kwsnake, Imrect * pot, double step, int type);
51 void kwsnake_internal_step_orth(Kwsnake * kwsnake, Vec2 * p, Vec2 * v, double alpha, double beta);
52 void kwsnake_dt_step(Kwsnake * kwsnake, Imrect * pot, double alpha, double beta, double trans_dt, double shape_dt);
53 void kwsnake_dt_step2(Kwsnake * kwsnake, Imrect * pot, double alpha, double beta, double trans_dt, double shape_dt);
54 double kwsnake_dist(Kwsnake * kws1, Kwsnake * kws2);
55 double kwsnake_dt_run(Kwsnake * kwsnake, Imrect * pot, double alpha, double beta, double trans_dt, double shape_dt, int steps);
56 double kwsnake_dt_run2(Kwsnake * kwsnake, Imrect * pot, double alpha, double beta, double trans_dt, double shape_dt, int steps);
57 void kwsnake_internal_step(Kwsnake * kwsnake, double alpha, double beta);
58 void kwsnake_step_from_pot(Kwsnake * kwsnake, Imrect * pot, double alpha, double beta, double step, int type);
59 void kwsnake_reorth(Kwsnake * kwsnake, Vec2 * p, Vec2 * v);
60 void kwsnake_orth_step(Kwsnake * kwsnake, float **im_orth, Vec2 * p, Vec2 * v, int n1, int n2, double alpha, double beta, double step, int type);
61 void kwsnake_step_orth(Kwsnake * kwsnake, float **im_orth, Vec2 * p, Vec2 * v, int n1, int n2, double alpha, double beta, double step, int type);
62 void kwsnake_inflate(Kwsnake * kwsnake, Vec2 * p, Vec2 * v, double step);
63 void kwsnake_grow(Kwsnake * kwsnake, Vec2 * p, Vec2 * v, Imrect * im, double mean, double sd, double step);
64 void kwsnake_region(Kwsnake * kwsnake, Imrect * im, double mean, double sd, Vec2 * p, Vec2 * v, double alpha, double beta, double step, int type);
65
66 #ifdef __cplusplus
67 }
68 #endif /* __cplusplus */
69
70 #endif /* TINA_GEOM_SPLINE_KWS_RUN_HDR */
71
72
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.