diff options
author | John Richardson <john.richardson@arm.com> | 2017-10-30 13:02:37 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:45:00 +0000 |
commit | 0434d75454bd83954ab3323e6384dcf0e3adbb5e (patch) | |
tree | f08023d496d6983b65c62c00a91ce15159d01b1c /src/core | |
parent | fb8dda27ea5fe399f708bf3bc24cc4c3ef801b5e (diff) | |
download | ComputeLibrary-0434d75454bd83954ab3323e6384dcf0e3adbb5e.tar.gz |
COMPMID-588: Port Equalize Histogram to new validation
Change-Id: Iff50adf2993bd69c2696a47559d6b2e0011fed87
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/110177
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/NEON/kernels/NECumulativeDistributionKernel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/NEON/kernels/NECumulativeDistributionKernel.cpp b/src/core/NEON/kernels/NECumulativeDistributionKernel.cpp index ca22af0989..d2eac2c254 100644 --- a/src/core/NEON/kernels/NECumulativeDistributionKernel.cpp +++ b/src/core/NEON/kernels/NECumulativeDistributionKernel.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -102,7 +102,7 @@ void NECumulativeDistributionKernel::run(const Window &window, const ThreadInfo } else { - const float diff = image_size - cd_min; + const float diff = image_size - 1; for(unsigned int x = 0; x < _histogram_size; ++x) { |