FloatSimilarity.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vector>
4 
6 
8 {
9 
10  enum Type
11  {
12  MSE,
13  MAE,
15  };
16 
17  double
19 
20  double calculate_similarity_multi(std::vector<armarx::aron::data::FloatPtr>& images,
22  Type type);
23 
25 
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