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