ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
RobustKernel.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
namespace
cloudViewer
{
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 cloudViewer
type
char type
Definition:
FileIOFactory.cpp:131
cloudViewer::t::pipelines::registration::RobustKernel
Definition:
RobustKernel.h:58
cloudViewer::t::pipelines::registration::RobustKernel::shape_parameter_
double shape_parameter_
Shape parameter.
Definition:
RobustKernel.h:74
cloudViewer::t::pipelines::registration::RobustKernel::type_
RobustKernelMethod type_
Loss type.
Definition:
RobustKernel.h:70
cloudViewer::t::pipelines::registration::RobustKernel::scaling_parameter_
double scaling_parameter_
Scaling parameter.
Definition:
RobustKernel.h:72
cloudViewer::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
cloudViewer::t::pipelines::registration::RobustKernelMethod
RobustKernelMethod
Definition:
RobustKernel.h:15
cloudViewer::t::pipelines::registration::RobustKernelMethod::GMLoss
@ GMLoss
cloudViewer::t::pipelines::registration::RobustKernelMethod::L2Loss
@ L2Loss
cloudViewer::t::pipelines::registration::RobustKernelMethod::HuberLoss
@ HuberLoss
cloudViewer::t::pipelines::registration::RobustKernelMethod::L1Loss
@ L1Loss
cloudViewer::t::pipelines::registration::RobustKernelMethod::TukeyLoss
@ TukeyLoss
cloudViewer::t::pipelines::registration::RobustKernelMethod::CauchyLoss
@ CauchyLoss
cloudViewer::t::pipelines::registration::RobustKernelMethod::GeneralizedLoss
@ GeneralizedLoss
cloudViewer
Generic file read and write utility for python interface.
Definition:
AutoSegmentationTools.h:16
libs
cloudViewer
t
pipelines
registration
RobustKernel.h
Generated on Wed Jan 28 2026 09:00:55 for ACloudViewer by
1.9.1