|
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 More... | |
std::string | to_string (Type t) |
enum Type |
Enumerator | |
---|---|
MSE | |
MAE | |
CHERNOFF | |
COSINE | |
NONE |
Definition at line 8 of file NDArraySimilarity.h.
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
images | vector of images that are compared to p |
p | main image that you want to know the dissimilarity from |
type | Type of dissimilarity measure used |
Definition at line 46 of file NDArraySimilarity.cpp.
std::string to_string | ( | Type | t | ) |
Definition at line 30 of file NDArraySimilarity.cpp.