aboutsummaryrefslogtreecommitdiff
path: root/distortionmeasure.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2015-09-01 20:45:02 -0300
committerSamuel Fadel <samuelfadel@gmail.com>2015-09-01 20:45:02 -0300
commita1956a4ff879eb2d34c7a0ca448f48ee6e64ce99 (patch)
treeb958291afa29268517633a8490920ae38dfcf2d8 /distortionmeasure.h
parentf405ac30db93ed9f2adb739c3c09b2ce9369fee6 (diff)
Improvements related to visual representation of distortions.
- New continuous color scale class; - Improvements in signal handler for calculating distortions; - Implementation of the NP(k) measure.
Diffstat (limited to 'distortionmeasure.h')
-rw-r--r--distortionmeasure.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/distortionmeasure.h b/distortionmeasure.h
new file mode 100644
index 0000000..523f62b
--- /dev/null
+++ b/distortionmeasure.h
@@ -0,0 +1,12 @@
+#ifndef DISTORTIONMEASURE_H
+#define DISTORTIONMEASURE_H
+
+#include <armadillo>
+
+class DistortionMeasure
+{
+public:
+ virtual arma::vec measure(const arma::mat &distA, const arma::mat &distB) = 0;
+};
+
+#endif // DISTORTIONMEASURE_H