Lines Matching refs:clip_limit
302 static void ClipCLAHEHistogram(const double clip_limit,const size_t number_bins, in ClipCLAHEHistogram() argument
324 excess=(ssize_t) histogram[i]-(ssize_t) clip_limit; in ClipCLAHEHistogram()
332 excess=(ssize_t) (clip_limit-step); in ClipCLAHEHistogram()
335 if ((double) histogram[i] > clip_limit) in ClipCLAHEHistogram()
336 histogram[i]=(size_t) clip_limit; in ClipCLAHEHistogram()
341 histogram[i]=(size_t) clip_limit; in ClipCLAHEHistogram()
369 if ((double) *p < clip_limit) in ClipCLAHEHistogram()
481 const size_t number_bins,const double clip_limit,unsigned short *pixels) in CLAHE() argument
502 if (clip_limit == 1.0) in CLAHE()
515 limit=(size_t) (clip_limit*(tile_info->width*tile_info->height)/number_bins); in CLAHE()
619 const size_t height,const size_t number_bins,const double clip_limit, in CLAHEImage() argument
735 (size_t) 128 : MagickMin(number_bins,256),clip_limit,pixels); in CLAHEImage()