~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina5/tina-libs/tina/geometry/geomLine_2fit.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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/geomLine_2fit.h,v $
 23  * Date    :  $Date: 2002/12/09 11:51:23 $
 24  * Version :  $Revision: 1.1.1.1 $
 25  * CVS Id  :  $Id: geomLine_2fit.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_LINE_2FIT_HDR
 35 #define TINA_GEOM_LINE_2FIT_HDR
 36 
 37 #include <tina/sys/sysDef.h>
 38 #include <tina/math/mathDef.h>
 39 #include <tina/geometry/geom_LineDef.h>
 40 
 41 #ifdef __cplusplus
 42 extern "C" {
 43 #endif /* __cplusplus */
 44 
 45 Bool    fit2_point_on_line(Vec2 p, Vec2 v, Vec2 c, double thres);
 46 Bool    fit2_all_points_on_line(List * start, List * end, Vec2 v, Vec2 c, double thres);
 47 int     fit2_points_off_line(List * start, List * end, Vec2 v, Vec2 c, double thres);
 48 List *fit2_findstart(List * pos, List * start, Vec2 v, Vec2 c, double thres);
 49 List *fit2_findend(List * pos, List * end, Vec2 v, Vec2 c, double thres);
 50 Bool    fit2_regres(List * start, List * end, Vec2 * v, Vec2 * c, double *residual);
 51 Bool    fit2_regres_it(List * start, List * end, Vec2 * v, Vec2 * c, double *residual, double thres);
 52 Line2  *line2_fit(List * start, List * end);
 53 Line2  *line2_best_fit(List * start, List * end, double thres);
 54 Line2  *line2_fit_and_grow(List ** pos1ptr, List ** pos2ptr, List * start, List * end, double thres);
 55 Line2  *line2_between(List * start, List * end);
 56 
 57 #ifdef __cplusplus
 58 }
 59 #endif /* __cplusplus */
 60 
 61 #endif /* TINA_GEOM_LINE_2FIT_HDR */
 62 
 63 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.