diff --git a/lib/CalypFrame.cpp b/lib/CalypFrame.cpp index e55d452..6024c2e 100644 --- a/lib/CalypFrame.cpp +++ b/lib/CalypFrame.cpp @@ -1154,6 +1154,15 @@ std::vector CalypFrame::supportedQualityMetricsList() }; } +std::vector CalypFrame::supportedQualityMetricsUnitsList() +{ + return std::vector{ + "dB", + "", + "", + }; +} + double CalypFrame::getQuality( int Metric, CalypFrame* Org, unsigned int component ) { if( component >= getNumberChannels() ) diff --git a/lib/CalypFrame.h b/lib/CalypFrame.h index 3dc65ed..c9ff227 100644 --- a/lib/CalypFrame.h +++ b/lib/CalypFrame.h @@ -357,6 +357,7 @@ public: }; static std::vector supportedQualityMetricsList(); + static std::vector supportedQualityMetricsUnitsList(); double getQuality( int Metric, CalypFrame* Org, unsigned int component ); double getMSE( CalypFrame* Org, unsigned int component ); double getPSNR( CalypFrame* Org, unsigned int component );