Add experimental sharpness calc to stats #2251

This commit is contained in:
Lovell Fuller
2020-06-12 11:25:57 +01:00
parent 9431029917
commit 8f5495a446
6 changed files with 49 additions and 2 deletions

View File

@@ -47,13 +47,15 @@ struct StatsBaton {
std::vector<ChannelStats> channelStats;
bool isOpaque;
double entropy;
double sharpness;
std::string err;
StatsBaton():
input(nullptr),
isOpaque(true),
entropy(0.0)
entropy(0.0),
sharpness(0.0)
{}
};