aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/NEON/functions/NEHarrisCorners.h')
-rw-r--r--arm_compute/runtime/NEON/functions/NEHarrisCorners.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arm_compute/runtime/NEON/functions/NEHarrisCorners.h b/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
index a709871153..a9a6786db5 100644
--- a/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
+++ b/arm_compute/runtime/NEON/functions/NEHarrisCorners.h
@@ -31,6 +31,8 @@
#include "arm_compute/core/Types.h"
#include "arm_compute/runtime/Array.h"
#include "arm_compute/runtime/IFunction.h"
+#include "arm_compute/runtime/IMemoryManager.h"
+#include "arm_compute/runtime/MemoryGroup.h"
#include "arm_compute/runtime/NEON/functions/NENonMaximaSuppression3x3.h"
#include "arm_compute/runtime/Tensor.h"
@@ -63,7 +65,7 @@ public:
*
* Initialize _sobel, _harris_score and _corner_list to nullptr.
*/
- NEHarrisCorners();
+ NEHarrisCorners(std::shared_ptr<IMemoryManager> memory_manager = nullptr);
/** Initialize the function's source, destination, conv and border_mode.
*
* @param[in, out] input Source image. Data type supported: U8. (Written to only for @p border_mode != UNDEFINED)
@@ -85,6 +87,7 @@ public:
void run() override;
private:
+ MemoryGroup _memory_group; /**< Function's memory group */
std::unique_ptr<IFunction> _sobel; /**< Sobel function */
std::unique_ptr<INEHarrisScoreKernel> _harris_score; /**< Harris score kernel */
NENonMaximaSuppression3x3 _non_max_suppr; /**< Non-maxima suppression function */