ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
lsd.h
Go to the documentation of this file.
1 /*----------------------------------------------------------------------------
2 
3  LSD - Line Segment Detector on digital images
4 
5  This code is part of the following publication and was subject
6  to peer review:
7 
8  "LSD: a Line Segment Detector" by Rafael Grompone von Gioi,
9  Jeremie Jakubowicz, Jean-Michel Morel, and Gregory Randall,
10  Image Processing On Line, 2012. DOI:10.5201/ipol.2012.gjmr-lsd
11  http://dx.doi.org/10.5201/ipol.2012.gjmr-lsd
12 
13  Copyright (c) 2007-2011 rafael grompone von gioi <grompone@gmail.com>
14 
15  This program is free software: you can redistribute it and/or modify
16  it under the terms of the GNU Affero General Public License as
17  published by the Free Software Foundation, either version 3 of the
18  License, or (at your option) any later version.
19 
20  This program is distributed in the hope that it will be useful,
21  but WITHOUT ANY WARRANTY; without even the implied warranty of
22  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  GNU Affero General Public License for more details.
24 
25  You should have received a copy of the GNU Affero General Public License
26  along with this program. If not, see <http://www.gnu.org/licenses/>.
27 
28  ----------------------------------------------------------------------------*/
29 
30 /*----------------------------------------------------------------------------*/
35 /*----------------------------------------------------------------------------*/
36 #ifndef LSD_HEADER
37 #define LSD_HEADER
38 
39 /*----------------------------------------------------------------------------*/
138 double * LineSegmentDetection( int * n_out,
139  double * img, int X, int Y,
140  double scale, double sigma_scale, double quant,
141  double ang_th, double log_eps, double density_th,
142  int n_bins,
143  int ** reg_img, int * reg_x, int * reg_y );
144 
145 /*----------------------------------------------------------------------------*/
206 double * lsd_scale_region( int * n_out,
207  double * img, int X, int Y, double scale,
208  int ** reg_img, int * reg_x, int * reg_y );
209 
210 /*----------------------------------------------------------------------------*/
247 double * lsd_scale(int * n_out, double * img, int X, int Y, double scale);
248 
249 /*----------------------------------------------------------------------------*/
278 double * lsd(int * n_out, double * img, int X, int Y);
279 
280 #endif /* !LSD_HEADER */
281 /*----------------------------------------------------------------------------*/
void * X
Definition: SmallVector.cpp:45
double * lsd_scale(int *n_out, double *img, int X, int Y, double scale)
Definition: lsd.c:2235
double * LineSegmentDetection(int *n_out, double *img, int X, int Y, double scale, double sigma_scale, double quant, double ang_th, double log_eps, double density_th, int n_bins, int **reg_img, int *reg_x, int *reg_y)
Definition: lsd.c:2025
double * lsd_scale_region(int *n_out, double *img, int X, int Y, double scale, int **reg_img, int *reg_x, int *reg_y)
Definition: lsd.c:2212
double * lsd(int *n_out, double *img, int X, int Y)
Definition: lsd.c:2243
T1::value_type quant(T1 &x, const T2 &q)