Preview of my upcoming denoising filter

I wish you a good retirement in advance! :smile:

1 Like

All, like the universe, is ever expanding. Long live the @s7habo. :rofl:

1 Like

I quite enjoyed making that video so I might make some more videos.

3 Likes

I’d like to see an video comparing the different inpainting filters.

That seems like a really interesting filter!
Could you give details on the algorithms please? The “lookup” parameter makes me think about non local means or bm3d, or something similar?
I also guess you have a scale decomposition, is it with wavelets, or downscaling or something else?
Also what method do you use for detail recovery?
And one last question, what kind of transform is resulting from the shadows and light sliders?
Thanks a lot :slight_smile:

Hi @rawfiner, thanks for your question. I figured I would make a video to explain it so you can see what is going on.

5 Likes

Thanks a lot for taking time to explain all these steps with this video! :slight_smile:
That answered my questions very well!

No problem.
Something I was going to mention but forgot was that the detail recovery method fails if the image has a repeating pattern over a lot of the image. It’s good for removing banding though.

Ok, thank you for this information :slight_smile:

I’ve moved my denoise filter to repair and moved the old version into my testing folder.

1 Like

Hello,
I’m new here . . . I just want to check out the denoising plugin, but I can’t find a link from where to download . . . please help.

Thank you

Welcome @Kantor_Zsolt! You need to download gmic, then refresh your filter list.

Thanks! I got it, I download it and it works!
Also I have another question. I need some little help. I worked in past with GIMP I did, and I do photo editing, but only the most basic stuff. Now I have some jpg images with text, actually a book scanned and saved with 75% jpg compression. Around the letters are compression artifacts. What would be the best way to correct the artifacts, and keep the letters, characters sharp? I could send a sample jpg file if you can help me.
I would like to get the best results on both the artifacts correction and character sharpness.

Thank you!

I can’t help you, but there is another thread about cleaning up book scans already on the forum. There is also a filter in gmic called afre_cleantext that might help with the clenaup.

1 Like

In the plugin, it is simply called Clean Text under Repair. Type in the search bar to find it quickly.

Yes, this is the best way to get answers. The forum is a very friendly place. Lots of people will offer their assistance. :slight_smile:

Check the filter date in my screenshot for the latest version. I update my filter regularly. Clean Text works on cats too!

1 Like

Thanks @afre, the problem with Clean Text is that it whitens out my background, and I have a background color on the pages. So far I tried Iain’s denoising plugin which is discussed in this topic, it works great. I managed to get rid of the artifacts, after I used a sharpening plugin (it is called Sharpen [Whiten]), the result is acceptable, but maybe there are other, better methods. I’m using Gimp 2.10.18, with the 2.9.1 pre-release G’MIC.
I attached a sample scanned book file (the original, without corrections).

https://drive.google.com/open?id=1xVWIqHDUxHlRuHGA93F1-HUviZIOCJLy

Thank you! @paperdigits

@Kantor_Zsolt Mine was originally designed to address one user’s problem so I am not surprised it didn’t work for you. Iain’s filters are definitely more sophisticated and general purpose.

I just inspected the image. Besides being a little soft, I don’t see much of a problem. I do see text on the other side of the page… Could you be more specific? Maybe annotate the problem areas.

…I also see a line crossing “for statement” and some ringing / haloing around the curvy parts of the letters, but they don’t bother me that much. I think that if you were to sharpen the image, these artifacts would be exaggerated and undesirable.


I am writing this as I am exploring, so this post is in bits and pieces. This is what I did.
1 Apply filter as new layer.
2 Colour dropper picks background from original layer.
3 Select by colour white background of top layer.
4 Bucket paste by selection. DONE!

Looks okay to me. The x's may be a problem for this filter but you might be able to tweak the parameters to mitigate the issue. Good luck.

image

Thanks a lot for your time. The ‘x’ is not a problem for me. My target is to get sharp letters. What you did is quite sharp.
About the text that can be seen from the other side of the page, is not a problem for me. It would be a problem if it would propagate much stringer.
The “for statement” thing is not a problem for me too.
My problem is that if you zoom in to 200%-300%, artifacts around the letters are seen.
Another thing is that the letters (as you wrote) are a little soft.
Sharpening the letters, in general increases the artifacts that are already around the letters.
So maybe a way to sharpen the letters without increasing the artifacts which are already around the letters.

Below is a screenshot with the artifacts around the letters. It is a 300% zoom:

You should try Smooth [Bilateral] and also have a look at Constrained Sharpen