#include #include extern "C" { #include } #include using namespace std; int main(){ av_register_all(); auto const image = open_image("test.jpg"); auto const x = rgb_wavelet_coefficients::calculate(image); auto const y = rgb_wavelet_coefficients::pre_calculate(image); cout << x << endl; cout << x.distance_to(y) << endl; }