From 25b81d24ff75f64c316805b5cf72b7e61c2b0ddc Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 13 Feb 2023 18:00:43 +0100 Subject: [PATCH] Removed new things from MLPPConvolutionsOld. --- mlpp/convolutions/convolutions_old.cpp | 3 --- mlpp/convolutions/convolutions_old.h | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/mlpp/convolutions/convolutions_old.cpp b/mlpp/convolutions/convolutions_old.cpp index 9ee7f72..f807b6f 100644 --- a/mlpp/convolutions/convolutions_old.cpp +++ b/mlpp/convolutions/convolutions_old.cpp @@ -372,6 +372,3 @@ MLPPConvolutionsOld::MLPPConvolutionsOld() { _roberts_horizontal = { { 0, 1 }, { -1, 0 } }; _roberts_vertical = { { 1, 0 }, { 0, -1 } }; } - -void MLPPConvolutionsOld::_bind_methods() { -} diff --git a/mlpp/convolutions/convolutions_old.h b/mlpp/convolutions/convolutions_old.h index 2347204..8467957 100644 --- a/mlpp/convolutions/convolutions_old.h +++ b/mlpp/convolutions/convolutions_old.h @@ -7,11 +7,7 @@ #include "core/math/math_defs.h" -#include "core/object/reference.h" - -class MLPPConvolutionsOld : public Reference { - GDCLASS(MLPPConvolutionsOld, Reference); - +class MLPPConvolutionsOld { public: std::vector> convolve_2d(std::vector> input, std::vector> filter, int S, int P = 0); std::vector>> convolve_3d(std::vector>> input, std::vector>> filter, int S, int P = 0); @@ -46,8 +42,6 @@ public: MLPPConvolutionsOld(); protected: - static void _bind_methods(); - std::vector> _prewitt_horizontal; std::vector> _prewitt_vertical; std::vector> _sobel_horizontal;