Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
semantic_point_annotator
ransac.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2008 Radu Bogdan Rusu <rusu -=- cs.tum.edu>
3
*
4
* All rights reserved.
5
*
6
* Redistribution and use in source and binary forms, with or without
7
* modification, are permitted provided that the following conditions are met:
8
*
9
* * Redistributions of source code must retain the above copyright
10
* notice, this list of conditions and the following disclaimer.
11
* * Redistributions in binary form must reproduce the above copyright
12
* notice, this list of conditions and the following disclaimer in the
13
* documentation and/or other materials provided with the distribution.
14
*
15
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
19
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
* POSSIBILITY OF SUCH DAMAGE.
26
*
27
* $Id: ransac.h 16379 2009-05-29 19:20:46Z hsujohnhsu $
28
*
29
*/
30
33
#ifndef _SAMPLE_CONSENSUS_RANSAC_H_
34
#define _SAMPLE_CONSENSUS_RANSAC_H_
35
36
#include <
sac.h
>
37
#include <
sac_model.h
>
38
39
namespace
sample_consensus
40
{
41
class
RANSAC
:
public
SAC
42
{
43
public
:
44
45
RANSAC
(
SACModel
* model);
46
RANSAC
(
SACModel
* model,
double
threshold);
47
48
virtual
~RANSAC
() { }
49
50
bool
computeModel
(
int
debug = 0);
51
};
52
}
53
54
#endif
sac.h
sample_consensus::SAC
Definition:
sac.h:44
sac_model.h
sample_consensus::RANSAC
Definition:
ransac.h:41
sample_consensus::RANSAC::computeModel
bool computeModel(int debug=0)
Compute the actual model and find the inliers.
Definition:
ransac.cpp:65
sample_consensus::RANSAC::RANSAC
RANSAC(SACModel *model)
RANSAC (RAndom SAmple Consensus) main constructor.
Definition:
ransac.cpp:58
sample_consensus
Definition:
ransac.h:39
sample_consensus::SACModel
Definition:
sac_model.h:45
sample_consensus::RANSAC::~RANSAC
virtual ~RANSAC()
Definition:
ransac.h:48
semantic_point_annotator
Author(s): Radu Bogdan Rusu
autogenerated on Mon Jun 10 2019 14:29:03