41 : _histogram_kernel(), _cd_histogram_kernel(), _map_histogram_kernel(), _hist(nr_bins, 0, max_range), _cum_dist(nr_bins, 0, max_range), _cd_lut(nr_bins,
DataType::
U8)
52 _histogram_kernel = std::make_unique<NEHistogramKernel>();
53 _cd_histogram_kernel = std::make_unique<NECumulativeDistributionKernel>();
54 _map_histogram_kernel = std::make_unique<NETableLookupKernel>();
57 _histogram_kernel->configure(input, &_hist);
58 _cd_histogram_kernel->configure(input, &_hist, &_cum_dist, &_cd_lut);
59 _map_histogram_kernel->configure(input, &_cd_lut, output);
~NEEqualizeHistogram()
Default destructor.
void run() override
Run the kernels contained in the function.
#define ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D(t)
void configure(const IImage *input, IImage *output)
Initialise the kernel's inputs.
1 channel, 1 U8 per channel
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
NEEqualizeHistogram()
Default Constructor.
#define ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN(t, c,...)
static constexpr size_t DimY
Alias for dimension 1 also known as Y dimension.
virtual void schedule(ICPPKernel *kernel, const Hints &hints)=0
Runs the kernel in the same thread as the caller synchronously.
DataType
Available data types.
static IScheduler & get()
Access the scheduler singleton.