Fireflies and median filter

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
rickyx
Posts: 26
Joined: Sun Apr 29, 2018 5:23 pm

Fireflies and median filter

Post by rickyx »

Hi,
during work, in some renderings, fireflies appear. There is not always time to debug the scene to find out which parameters are wrong.
In my studio, as a last resort, we use the median filter: we created it, in the compositor, especially for the fireflies ( in fact the values valid for the radius are only 1 and -1 as fireflies are 99% of the cases a single pixel).

I know that, speaking of unbiased rendering, it is not an elegant solution:
however, sometimes it solves the problem without affecting too much the final quality of the image.
The result is variable depending on the type of image (but often has better results than the median filter of Photoshop) and quite reliable during animations.

The shared version is a basic implementation, if someone wants to improve it is welcome!
Ricky and Brixel

Median.blend
(92.85 KiB) Downloaded 175 times
Post Reply