Search found 2 matches

by -Elia
2015-03-17T06:38:08-07:00
Forum: Digital Image Processing
Topic: CLAHE - Redistributing excess pixels among histogram bins
Replies: 2
Views: 13206

Re: CLAHE - Redistributing excess pixels among histogram bins

Thank you for sharing your implementation.
I've decided, in the case of more buckets than pixels, to distribute the one pixel to some buckets and others zero.
In the example of 13 pixels excess pixels, then 256 / 13 = 19.7 ~ 19, so one pixels will be added on every 19th bucket.
by -Elia
2015-03-15T06:45:49-07:00
Forum: Digital Image Processing
Topic: CLAHE - Redistributing excess pixels among histogram bins
Replies: 2
Views: 13206

CLAHE - Redistributing excess pixels among histogram bins

In order to clip an image's histogram to a maximum value, according to the CLAHE algorithm, the excess pixels (above the clip limit) will be distributed equally among all the histogram bins (While keeping track none of the bins exceed the max limit of course). Now, when working with (8,8) region ...