mirror of
https://github.com/Relintai/pmlpp.git
synced 2025-01-18 15:07:16 +01:00
Removed new things from MLPPConvolutionsOld.
This commit is contained in:
parent
9298578954
commit
25b81d24ff
@ -372,6 +372,3 @@ MLPPConvolutionsOld::MLPPConvolutionsOld() {
|
|||||||
_roberts_horizontal = { { 0, 1 }, { -1, 0 } };
|
_roberts_horizontal = { { 0, 1 }, { -1, 0 } };
|
||||||
_roberts_vertical = { { 1, 0 }, { 0, -1 } };
|
_roberts_vertical = { { 1, 0 }, { 0, -1 } };
|
||||||
}
|
}
|
||||||
|
|
||||||
void MLPPConvolutionsOld::_bind_methods() {
|
|
||||||
}
|
|
||||||
|
@ -7,11 +7,7 @@
|
|||||||
|
|
||||||
#include "core/math/math_defs.h"
|
#include "core/math/math_defs.h"
|
||||||
|
|
||||||
#include "core/object/reference.h"
|
class MLPPConvolutionsOld {
|
||||||
|
|
||||||
class MLPPConvolutionsOld : public Reference {
|
|
||||||
GDCLASS(MLPPConvolutionsOld, Reference);
|
|
||||||
|
|
||||||
public:
|
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<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);
|
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();
|
MLPPConvolutionsOld();
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void _bind_methods();
|
|
||||||
|
|
||||||
std::vector<std::vector<real_t>> _prewitt_horizontal;
|
std::vector<std::vector<real_t>> _prewitt_horizontal;
|
||||||
std::vector<std::vector<real_t>> _prewitt_vertical;
|
std::vector<std::vector<real_t>> _prewitt_vertical;
|
||||||
std::vector<std::vector<real_t>> _sobel_horizontal;
|
std::vector<std::vector<real_t>> _sobel_horizontal;
|
||||||
|
Loading…
Reference in New Issue
Block a user