Open3D (C++ API)
0.18.0
cpp
open3d
t
pipelines
registration
RobustKernel.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2023 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
namespace
open3d
{
11
namespace
t {
12
namespace
pipelines {
13
namespace
registration {
14
15
enum class
RobustKernelMethod
{
16
L2Loss
= 0,
17
L1Loss
= 1,
18
HuberLoss
= 2,
19
CauchyLoss
= 3,
20
GMLoss
= 4,
21
TukeyLoss
= 5,
22
GeneralizedLoss
= 6,
23
};
24
58
class
RobustKernel
{
59
public
:
60
explicit
RobustKernel
(
61
const
RobustKernelMethod
type
=
RobustKernelMethod::L2Loss
,
62
const
double
scaling_parameter = 1.0,
63
const
double
shape_parameter = 1.0)
64
:
type_
(
type
),
65
scaling_parameter_
(scaling_parameter),
66
shape_parameter_
(shape_parameter) {}
67
68
public
:
70
RobustKernelMethod
type_
=
RobustKernelMethod::L2Loss
;
72
double
scaling_parameter_
= 1.0;
74
double
shape_parameter_
= 1.0;
75
};
76
77
}
// namespace registration
78
}
// namespace pipelines
79
}
// namespace t
80
}
// namespace open3d
open3d::t::pipelines::registration::RobustKernel
Definition:
RobustKernel.h:58
open3d::t::pipelines::registration::RobustKernel::RobustKernel
RobustKernel(const RobustKernelMethod type=RobustKernelMethod::L2Loss, const double scaling_parameter=1.0, const double shape_parameter=1.0)
Definition:
RobustKernel.h:60
open3d::t::pipelines::registration::RobustKernel::shape_parameter_
double shape_parameter_
Shape parameter.
Definition:
RobustKernel.h:74
open3d::t::pipelines::registration::RobustKernel::scaling_parameter_
double scaling_parameter_
Scaling parameter.
Definition:
RobustKernel.h:72
open3d::t::pipelines::registration::RobustKernel::type_
RobustKernelMethod type_
Loss type.
Definition:
RobustKernel.h:70
type
char type
Definition:
FilePCD.cpp:41
open3d::t::pipelines::registration::RobustKernelMethod
RobustKernelMethod
Definition:
RobustKernel.h:15
open3d::t::pipelines::registration::RobustKernelMethod::GMLoss
@ GMLoss
open3d::t::pipelines::registration::RobustKernelMethod::L2Loss
@ L2Loss
open3d::t::pipelines::registration::RobustKernelMethod::HuberLoss
@ HuberLoss
open3d::t::pipelines::registration::RobustKernelMethod::L1Loss
@ L1Loss
open3d::t::pipelines::registration::RobustKernelMethod::TukeyLoss
@ TukeyLoss
open3d::t::pipelines::registration::RobustKernelMethod::CauchyLoss
@ CauchyLoss
open3d::t::pipelines::registration::RobustKernelMethod::GeneralizedLoss
@ GeneralizedLoss
open3d
Definition:
PinholeCameraIntrinsic.cpp:16
Generated by
1.9.1