I like the idea of the median filter as a final touchup for denoise but i found it too much strong even with the 3x3 kernel.
Just wonder how it perform in real image the weighted median filter, basically for what i understand it’s just a median but the central pixel is counted two or more times.
It should preserve better the details
https://github.com/wareya/median
https://dsp.stackexchange.com/questions/22412/what-is-the-advantage-of-weighted-median-filter-over-median-filter