NDArraySimilarity.h File Reference
+ Include dependency graph for NDArraySimilarity.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::aron
 
namespace  armarx::aron::similarity
 
namespace  armarx::aron::similarity::NDArraySimilarity
 

Enumerations

enum  Type {
  MSE , MAE , CHERNOFF , COSINE ,
  NONE
}
 

Functions

double calculate_similarity (armarx::aron::data::NDArrayPtr p1, armarx::aron::data::NDArrayPtr p2, Type type)
 
double calculate_similarity_multi (std::vector< armarx::aron::data::NDArrayPtr > images, armarx::aron::data::NDArrayPtr p, Type type)
 calculate_similarity_multi compares the image p with all images from the images vector, the dissimilarity values are simply summed up
 
std::string to_string (Type t)