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