Removed new things from MLPPConvolutionsOld.

This commit is contained in:
Relintai 2023-02-13 18:00:43 +01:00
parent 9298578954
commit 25b81d24ff
2 changed files with 1 additions and 10 deletions

View File

@ -372,6 +372,3 @@ MLPPConvolutionsOld::MLPPConvolutionsOld() {
_roberts_horizontal = { { 0, 1 }, { -1, 0 } };
_roberts_vertical = { { 1, 0 }, { 0, -1 } };
}
void MLPPConvolutionsOld::_bind_methods() {
}

View File

@ -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<std::vector<real_t>> convolve_2d(std::vector<std::vector<real_t>> input, std::vector<std::vector<real_t>> filter, int S, int P = 0);
std::vector<std::vector<std::vector<real_t>>> convolve_3d(std::vector<std::vector<std::vector<real_t>>> input, std::vector<std::vector<std::vector<real_t>>> filter, int S, int P = 0);
@ -46,8 +42,6 @@ public:
MLPPConvolutionsOld();
protected:
static void _bind_methods();
std::vector<std::vector<real_t>> _prewitt_horizontal;
std::vector<std::vector<real_t>> _prewitt_vertical;
std::vector<std::vector<real_t>> _sobel_horizontal;