Yes, I’ve found this algorithm thx.
void dctDenoising(const Mat &src, Mat &dst, const double sigma, const int psize)
I don’t know if it fits my use-case. I need to test.
It looks like it is slow at first approach and psize must me as small as possible.
Need to test.