24 #ifndef ARM_COMPUTE_NEOPTICALFLOW_H 25 #define ARM_COMPUTE_NEOPTICALFLOW_H 44 class NELKTrackerKernel;
64 NEOpticalFlow(std::shared_ptr<IMemoryManager> memory_manager =
nullptr);
89 bool use_initial_estimate,
BorderMode border_mode, uint8_t constant_border_value = 0);
96 std::vector<NEScharr3x3> _func_scharr;
97 std::vector<std::unique_ptr<NELKTrackerKernel>> _kernel_tracker;
98 std::vector<Tensor> _scharr_gx;
99 std::vector<Tensor> _scharr_gy;
105 unsigned int _num_levels;
BorderMode
Methods available to handle borders.
Base class for all functions.
NEOpticalFlow & operator=(const NEOpticalFlow &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Copyright (c) 2017-2021 Arm Limited.
Basic implementation of the pyramid interface.
Termination
Termination criteria.
Basic function to execute optical flow.
NEOpticalFlow(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Constructor.
void configure(const Pyramid *old_pyramid, const Pyramid *new_pyramid, const IKeyPointArray *old_points, const IKeyPointArray *new_points_estimates, IKeyPointArray *new_points, Termination termination, float epsilon, unsigned int num_iterations, size_t window_dimension, bool use_initial_estimate, BorderMode border_mode, uint8_t constant_border_value=0)
Initialise the function input and output.
~NEOpticalFlow()
Default destructor.
void run() override
Run the kernels contained in the function.