From 0434d75454bd83954ab3323e6384dcf0e3adbb5e Mon Sep 17 00:00:00 2001 From: John Richardson Date: Mon, 30 Oct 2017 13:02:37 +0000 Subject: COMPMID-588: Port Equalize Histogram to new validation Change-Id: Iff50adf2993bd69c2696a47559d6b2e0011fed87 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/110177 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- src/core/NEON/kernels/NECumulativeDistributionKernel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/NEON/kernels/NECumulativeDistributionKernel.cpp') 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) { -- cgit v1.2.1