FloatSimilarity.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include "
RobotAPI/libraries/aron/core/data/variant/primitive/Float.h
"
6
7
namespace
armarx::aron::similarity::FloatSimilarity
8
{
9
10
enum
Type
11
{
12
MSE
,
13
MAE
,
14
NONE
15
};
16
17
double
18
calculate_similarity
(
armarx::aron::data::FloatPtr
f1,
armarx::aron::data::FloatPtr
f2,
Type
t);
19
20
double
calculate_similarity_multi
(std::vector<armarx::aron::data::FloatPtr>& images,
21
armarx::aron::data::FloatPtr
p,
22
Type
type);
23
24
double
calculateMAE
(
armarx::aron::data::FloatPtr
f1,
armarx::aron::data::FloatPtr
f2);
25
26
double
calculateMSE
(
armarx::aron::data::FloatPtr
f1,
armarx::aron::data::FloatPtr
f2);
27
28
}
// namespace armarx::aron::similarity::FloatSimilarity
armarx::aron::similarity::FloatSimilarity
Definition:
FloatSimilarity.h:7
armarx::aron::similarity::FloatSimilarity::calculate_similarity_multi
double calculate_similarity_multi(std::vector< armarx::aron::data::FloatPtr > &images, armarx::aron::data::FloatPtr p, Type type)
armarx::aron::similarity::FloatSimilarity::calculateMSE
double calculateMSE(armarx::aron::data::FloatPtr f1, armarx::aron::data::FloatPtr f2)
Definition:
FloatSimilarity.cpp:35
armarx::aron::similarity::FloatSimilarity::MAE
@ MAE
Definition:
FloatSimilarity.h:13
Float.h
armarx::aron::similarity::FloatSimilarity::Type
Type
The Type enum.
Definition:
FloatSimilarity.h:10
armarx::aron::similarity::FloatSimilarity::MSE
@ MSE
Definition:
FloatSimilarity.h:12
armarx::aron::similarity::FloatSimilarity::NONE
@ NONE
Definition:
FloatSimilarity.h:14
armarx::aron::data::FloatPtr
std::shared_ptr< Float > FloatPtr
Definition:
forward_declarations.h:29
armarx::aron::similarity::FloatSimilarity::calculate_similarity
double calculate_similarity(armarx::aron::data::FloatPtr f1, armarx::aron::data::FloatPtr f2, Type t)
Definition:
FloatSimilarity.cpp:11
armarx::aron::similarity::FloatSimilarity::calculateMAE
double calculateMAE(armarx::aron::data::FloatPtr f1, armarx::aron::data::FloatPtr f2)
Definition:
FloatSimilarity.cpp:28
RobotAPI
libraries
aron
similarity
data
image
FloatSimilarity.h
Generated on Sat Mar 29 2025 09:17:30 for armarx_documentation by
1.8.17