43 std::vector<SimpleTensor<T>>
dst;
48 for(
size_t i = 1; i < num_levels; ++i)
BorderMode
Methods available to handle borders.
constexpr float SCALE_PYRAMID_HALF
Constant value used to indicate a half-scale pyramid.
Output values are defined to match the source pixel whose center is nearest to the sample position...
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
Samples are taken at pixel center.
SimpleTensor< T > gaussian5x5(const SimpleTensor< T > &src, BorderMode border_mode, T constant_border_value)
Simple tensor object that stores elements in a consecutive chunk of memory.
std::vector< SimpleTensor< T > > gaussian_pyramid_half(const SimpleTensor< T > &src, BorderMode border_mode, uint8_t constant_border_value, size_t num_levels)
SimpleTensor< T > scale(const SimpleTensor< T > &src, float scale_x, float scale_y, InterpolationPolicy policy, BorderMode border_mode, T constant_border_value, SamplingPolicy sampling_policy, bool ceil_policy_scale, bool align_corners)