0
votes

I'm looking for methods for histogram blurring in image processing. I found this old thread but the answers there does not solve my case. One answer there suggest that

There is actually nothing called Histogram blurring.

so Is there any way for histogram blurring in image processing?

[edit1] some more info

  • image size is 3880x2592.
  • I want to blur with gaussian blur with radius about 15-20 (*pixels?).
  • I am using 256×16bit 8ea(*?) single ports memories.
  • I want to imlement this on FPGA
1

1 Answers

0
votes

if by blur you mean smooth (removing high frequencies) then you can use any smooth filter or algorithm (most of them are based on FIR low pass filters)

if your question is what to smooth then the answer is same as in the question you linked it depends on what you need:

  • if you need smoothed histogram for some computation then smooth histogram directly and leave image be as is
  • if you need the image colors to be smoothed then smooth image and recompute histogram

sometimes is hard to smooth image to get smoothed histogram

  • (due to slow bleeding of colors or by too big data loss)

In that case you can smooth the histogram (remembering the original) then compute the area change for each color and statistically recolor whole image (it is not an easy task).

  1. Pick (random) pixel of color a which area needs to be decreased and recolor it to closest color b thats area needs to be increased
  2. update area of booth colors
  3. loop until areas are matching ...