Allow to use denoise algorithm for floating point image

Hello.
I’m using opencv library for my astrophotography software. What I have to say is that this library is really good.
However, in astrophotography we work on 32bits images.
So far, opencv algorithms for denoising purposes cannot be used on these images and that’s a pity.
Do you think it would be possible you guys you implement this feature? I don’t think it would be difficult for the those knowing the code (I hope).
Is it the best place to ask for it, or should I open a github ticket?

My best regards,

better open an issue on the github (also search for existing issues first).

issues and pull requests on github are where such things are organized. once it’s an issue, someone might come along and pick it up.

1 Like

Hello,
Will do it. Thanks.

There is DCT denoising algorithm in the opencv_contrib repository. It works with FP32 images: opencv_contrib/dct_image_denoising.cpp at master · opencv/opencv_contrib · GitHub

Not sure whether it is acceptable for your use-case: IPOL Journal · DCT Image Denoising: a Simple and Effective Image Denoising Algorithm

2 Likes

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.