~ubuntu-branches/ubuntu/vivid/grass/vivid-proposed

« back to all changes in this revision

Viewing changes to vector/lidar/v.lidar.edgedetection/edgedetection.h

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2015-02-20 23:12:08 UTC
  • mfrom: (8.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20150220231208-1u6qvqm84v430b10
Tags: 7.0.0-1~exp1
* New upstream release.
* Update python-ctypes-ternary.patch to use if/else instead of and/or.
* Drop check4dev patch, rely on upstream check.
* Add build dependency on libpq-dev to grass-dev for libpq-fe.h.
* Drop patches applied upstream, refresh remaining patches.
* Update symlinks for images switched from jpg to png.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
/**************************************************************
3
 
 *                                                                      
4
 
 * MODULE:       v.lidar.edgedetection                          
5
 
 *                                                              
6
 
 * AUTHOR(S):    Original version in GRASS 5.4 (s.edgedetection):
7
 
 *               Maria Antonia Brovelli, Massimiliano Cannata, 
8
 
 *               Ulisse Longoni and Mirko Reguzzoni
9
 
 *
10
 
 *               Update for GRASS 6.X and improvements:
11
 
 *               Roberto Antolin and Gonzalo Moreno
12
 
 *                                                                      
13
 
 * PURPOSE:      Detection of object's edges on a LIDAR data set        
14
 
 *                                                                      
15
 
 * COPYRIGHT:    (C) 2006 by Politecnico di Milano -                    
16
 
 *                           Polo Regionale di Como                     
17
 
 *                                                                      
18
 
 *               This program is free software under the                
19
 
 *               GNU General Public License (>=v2).                     
20
 
 *               Read the file COPYING that comes with GRASS            
21
 
 *               for details.                                   
22
 
 *                                                      
23
 
 **************************************************************/
24
 
 
25
 
 /*INCLUDES*/
26
 
#include <grass/gis.h>
27
 
#include <grass/Vect.h>
28
 
#include <grass/dbmi.h>
29
 
#include <grass/glocale.h>
30
 
#include <grass/PolimiFunct.h>
31
 
 
32
 
/*---------------------------------------------------------------------------------------*/
33
 
int edge_detection(struct Cell_head, /**/
34
 
                   BOUND_BOX, /**/
35
 
                   double *, /**/
36
 
                   double, /**/
37
 
                   double, /**/
38
 
                   double *, /**/
39
 
                   double, /**/ double, /**/ double, /**/ double /**/);
40
 
 
41
 
int Get_Gradient(struct Cell_head, /**/
42
 
                     double, /**/ double, /**/ double *, /**/ double *);
43
 
 
44
 
void classification(struct Map_info *, /**/
45
 
                    struct Cell_head, /**/
46
 
                    BOUND_BOX, /**/
47
 
                    BOUND_BOX, /**/
48
 
                    double **, /**/
49
 
                    double *, /**/
50
 
                    double *, /**/
51
 
                    double, /**/
52
 
                    double, /**/
53
 
                    double, /**/
54
 
                    double, /**/
55
 
                    double, /**/
56
 
                    int *, /**/ int, /**/ dbDriver *, /**/ char *, /**/ char *);
57
 
 
58
 
int Insert(double, /**/ double, /**/ double, /**/ int, /**/ dbDriver *, /**/ char *);
59
 
 
60
 
int UpDate(double, /**/ double, /**/ double, /**/ int, /**/ dbDriver *, /**/ char *);
61
 
 
62
 
int Select(double *, /**/ double *, /**/ double *, /**/ int, /**/ dbDriver *, /**/ char *);
63
 
 
64
 
int Insert_Interpolation(double, int, dbDriver *, char *);