summaryrefslogtreecommitdiffstats
path: root/jni/feature_stab/db_vlvm/db_robust.h
blob: be0794c6ee13557605ccbecea03bb9a794f30331 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
 * Copyright (C) 2011 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* $Id: db_robust.h,v 1.4 2011/06/17 14:03:31 mbansal Exp $ */

#ifndef DB_ROBUST
#define DB_ROBUST



/*****************************************************************
*    Lean and mean begins here                                   *
*****************************************************************/
/*!
 * \defgroup LMRobust (LM) Robust Estimation
 */

/*!
    \struct     db_Statistics
    \ingroup    LMRobust
    \brief      (LnM) Sampling problem statistics
    \date       Mon Sep 10 10:28:08 EDT 2007
    \par        Copyright: 2007 Sarnoff Corporation.  All Rights Reserved
 */
 struct db_stat_struct
 {
     int nr_points;
     int nr_inliers;
     double inlier_fraction;
     double cost;
     double one_over_scale2;
     double lambda1;
     double lambda2;
     double lambda3;
     int nr_parameters;
     int model_dimension;
     double gric;
     double inlier_evidence;
     double posestd[6];
     double rotationvecCov[9];
     double translationvecCov[9];
     int posecov_inliercount;
     int posecovready;
     double median_reprojection_error;
 };
 typedef db_stat_struct db_Statistics;

#endif /* DB_ROBUST */