24 #ifndef ARM_COMPUTE_NEHOGMULTIDETECTION_H 25 #define ARM_COMPUTE_NEHOGMULTIDETECTION_H 41 class NEHOGOrientationBinningKernel;
42 class NEHOGBlockNormalizationKernel;
95 uint8_t constant_border_value = 0,
104 std::vector<NEHOGOrientationBinningKernel> _orient_bin_kernel;
105 std::vector<NEHOGBlockNormalizationKernel> _block_norm_kernel;
106 std::vector<NEHOGDetector> _hog_detect_kernel;
108 std::vector<Tensor> _hog_space;
109 std::vector<Tensor> _hog_norm_space;
113 bool _non_maxima_suppression;
114 size_t _num_orient_bin_kernel;
115 size_t _num_block_norm_kernel;
116 size_t _num_hog_detect_kernel;
BorderMode
Methods available to handle borders.
Base class for all functions.
~NEHOGMultiDetection()
Default destructor.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
Basic function to detect multiple objects (or the same object at different scales) on the same input ...
Basic function to calculate the gradient for HOG.
Basic implementation of the tensor interface.
void run() override
Run the kernels contained in the function.
NEHOGMultiDetection & operator=(const NEHOGMultiDetection &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
CPP kernel to perform in-place computation of euclidean distance on IDetectionWindowArray.
void configure(ITensor *input, const IMultiHOG *multi_hog, IDetectionWindowArray *detection_windows, const ISize2DArray *detection_window_strides, BorderMode border_mode, uint8_t constant_border_value=0, float threshold=0.0f, bool non_maxima_suppression=false, float min_distance=1.0f)
Initialise the function's source, destination, detection window strides, border mode, threshold and non-maxima suppression.
Interface for storing multiple HOG data-objects.
SimpleTensor< T > non_maxima_suppression(const SimpleTensor< T > &src, BorderMode border_mode, T constant_border_value)
NEHOGMultiDetection(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Default constructor.
SimpleTensor< T > threshold(const SimpleTensor< T > &src, T threshold, T false_value, T true_value, ThresholdType type, T upper)