From ff7909956f69d708263e6c48719a50bf22989081 Mon Sep 17 00:00:00 2001 From: Cristy Date: Thu, 13 Dec 2018 15:09:21 -0500 Subject: [PATCH] ... --- MagickCore/enhance.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/MagickCore/enhance.c b/MagickCore/enhance.c index be5f2ced4..28d40d4bf 100644 --- a/MagickCore/enhance.c +++ b/MagickCore/enhance.c @@ -292,12 +292,12 @@ MagickExport MagickBooleanType BrightnessContrastImage(Image *image, % */ -typedef struct _IntervalInfo +typedef struct _RangeInfo { unsigned short min, max; -} IntervalInfo; +} RangeInfo; static void ClipCLAHEHistogram(const double clip_limit,const size_t number_bins, size_t *histogram) @@ -435,7 +435,7 @@ static void InterpolateCLAHE(const RectangleInfo *clahe_info,const size_t *Q12, } } -static void GenerateCLAHELut(const IntervalInfo *range_info, +static void GenerateCLAHELut(const RangeInfo *range_info, const size_t number_bins,unsigned short *lut) { ssize_t @@ -452,7 +452,7 @@ static void GenerateCLAHELut(const IntervalInfo *range_info, lut[i]=(unsigned short) ((i-range_info->min)/delta); } -static void MapCLAHEHistogram(const IntervalInfo *range_info, +static void MapCLAHEHistogram(const RangeInfo *range_info, const size_t number_bins,const size_t number_pixels,size_t *histogram) { double @@ -477,7 +477,7 @@ static void MapCLAHEHistogram(const IntervalInfo *range_info, } static MagickBooleanType CLAHE(const RectangleInfo *clahe_info, - const IntervalInfo *range_info,const size_t number_bins, + const RangeInfo *range_info,const size_t number_bins, const double clip_limit,unsigned short *pixels) { MemoryInfo @@ -638,7 +638,7 @@ MagickExport MagickBooleanType CLAHEImage(Image *image,const size_t width, ColorspaceType colorspace; - IntervalInfo + RangeInfo range_info; MagickBooleanType -- 2.40.0