X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=deconvolution_sharpen_effect.cpp;h=a90e5cc6f8c1e3463c458e87eb4f451dfdb43a3e;hp=260266403852a2beb22232e29924d4c25a873b2d;hb=c208d2719d48f7676d73b6f406f2417ec147acae;hpb=37f56fcbe571b2322243f6de59494bf9e0cbb37a diff --git a/deconvolution_sharpen_effect.cpp b/deconvolution_sharpen_effect.cpp index 2602664..a90e5cc 100644 --- a/deconvolution_sharpen_effect.cpp +++ b/deconvolution_sharpen_effect.cpp @@ -13,6 +13,7 @@ #include #include "deconvolution_sharpen_effect.h" +#include "effect_util.h" #include "util.h" using namespace Eigen; @@ -239,16 +240,6 @@ MatrixXf central_convolve(const MatrixXf &a, const MatrixXf &b) return result; } -void print_matrix(const MatrixXf &m) -{ - for (int y = 0; y < m.rows(); ++y) { - for (int x = 0; x < m.cols(); ++x) { - printf("%7.4f ", m(x, y)); - } - printf("\n"); - } -} - } // namespace void DeconvolutionSharpenEffect::update_deconvolution_kernel()