It is currently Tue Mar 28, 2017 8:16 pm


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: My Noise Reduction Filter.
PostPosted: Wed Feb 13, 2013 3:07 am  (#1) 
Offline
GimpChat Member

Joined: Feb 13, 2013
Posts: 86
I've made a new noise reduction filter and wrote a blog post about it. I can't post the link, it tells me it is too spammy. So I've posted the text from the post below. I hope you like the filter.



With noise reduction software it is a case of picking your poison. Well I hope this poison at least offers a pleasant taste!

Iain’s Noise Reduction is a filter for the G’MIC plug-in for GIMP 2.8. It is currently found in the Testing->Iain Fergusson folder.



Control descriptions

Luma NR

This adjusts the amount of luma noise reduction. If the control is set to 0 this step is skipped and processing will be faster.

Chroma NR

This adjusts the amount of colour noise reduction. If the control is set to 0 this step is skipped and processing will be faster.

Despeckle

This reduces the amount ‘salt-and-pepper’ noise. It is performed just before the luma noise reduction, so adjustments made here will affect the luma noise reduction.

If the luma noise reduction is set to 0, the despeckle step is also skipped.

When set to level 4, the main luma noise reduction is adjusted to skip removal of fine noise because it should have been taken care of by the despeckle algorithm. This should speed up the denoising.

Adjust noise reduction by tone

This allows you to adjust the amount of noise reduction in the shadows and highlights.

Recover Details

The detail recovery step works with the information removed by the luma noise reduction and recovers details that are stronger than a certain threshold. There are three options recovering details:

Do not Recover Details
Recover Details
Recover Details as separate layer – this will output the recovered details to a separate layer that can be combined with other noise reduction layer using ‘grain merge’ blending mode in GIMP will produce the final image. This option allows the user to apply masks and further processing to the details in GIMP.
Recovering details is the slowest part of this filter, you will have to have patience.

The recovery amount slider sets the overall recovery amount. At low values only the strongest details are recovered. As the slider is raised more subtle details are revealed, but there is a risk that the recovery algorithm will see false details in noisy areas. Setting the slider to 10 will recover all details including noise.


Noisy image before processing.

Details on the red feather are recovered well in the lower right corner, but some false details appear in the shadow area of the feather.
Adjust detail recovery by size

These controls allow the user to adjust the detail recovery based on the size of the details. This is useful to control the appearance of false details

Detail Emphasis

This allows the user to increase the strength of the details so that they are more obvious. This often allows the user to use a lower recovery threshold and reduce false details.

Other considerations

Although the detail recovery is quite good, it can produce artefacts. False details has already been mentioned, another artefacts is detail bleed. Sometimes you will see that recovered pattern actually extend past the boundaries of the original pattern and ‘bleeds’ into other areas. This is because the detail recovery looks for patterns in blocks, and if a pattern is found, with certain settings, the whole block is filled with the pattern, even if the pattern did not fill the entire block originally.

Another artefact is ‘ringing’. If the original luma noise reduction softens strong edges too much the detail recovery algorithm can produce parallel lines running along side the edge.


Noisy image.

Ringing is visible as parallel lines running beside the edges.
Sharpen edges

This sharpens the luma channel, but does not sharpen the details.

Preview Shows

Normal Output
Luma Noise – shows an amplified view of what is being remove from the luma channel
Chroma Noise – shows an amplified view of what is being removed from the chroma channel
Details – shows an amplified view of what is being recovered in the detail recovery step.
Notes on using the filter

Successful detail recovery is a balance of the luma noise reduction setting (including despeckle) and the detail recovery settings. The detail recovery section works with the information removed in the luma noise reduction section, so adjusting the luma noise reduction will affect the amount of details recovered. Generally the luma noise reduction should be set to slightly over-smooth the image so that the detail recovery section has enough information to detect the details. Small adjustments of the luma noise reduction amount can improve the detail recovery, so a bit of fine tuning is required for the best results.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Wed Feb 13, 2013 7:28 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2774
thanks Iain !

i guess this is the correct link ?

http://iainisbald.wordpress.com/2013/02 ... /#more-619


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Wed Feb 13, 2013 1:44 pm  (#3) 
Offline
GimpChat Member

Joined: Jan 20, 2013
Posts: 5845
Location: roma, italy
Excellent noise reduction filter! Thanks Iain

_________________
Vanitas vanitatum et omnia vanitas.


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Wed Feb 13, 2013 4:18 pm  (#4) 
Offline
GimpChat Member

Joined: Feb 13, 2013
Posts: 86
Esper wrote:
thanks Iain !

i guess this is the correct link ?



Yes that's it. Thanks!


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Wed Feb 13, 2013 4:43 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5130
Location: Metro Vancouver, BC
Iain, After one more post and you'll be able to add files, links, etc.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Fri May 16, 2014 7:52 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 725
I recently discovered this G'MIC filter and it is excellent. The edges and details are preserved quite well, something difficult to obtain with other noise reduction methods.
I'm not yet acquainted with the Recover Details options, but after applying the Iain Noise reduction filter, GIMP Unsharp Mask works pretty well too.
Thank you very much Iain!

Edit:
Ohhh!
Looking your filters folder in G'MIC Testing now I have found the filter "Fill Holes". With the "Fill Light colours" option enabled I can reduce scratches and hot dots noise in old photos and scanned negatives. It's fantastic!
Iain, you are a master in reducing noise issues!!!

For example, try "Fill Holes" filter with the original fluffybunny image here:
viewtopic.php?f=18&t=8017

Apply the filter with the next options:
Morph radius: 8
Edge radius: 50
Close radius: 0
Check "Fill light colours" option.

See the result in scratching on the floor. It's magical :)
Then if you want you apply GIMP unsharp mask for more detail.

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Fri May 16, 2014 1:32 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2774
YAFU wrote:
Edit:
Ohhh!
Looking your filters folder in G'MIC Testing now I have found the filter "Fill Holes". With the "Fill Light colours" option enabled I can reduce scratches and hot dots noise in old photos and scanned negatives. It's fantastic!
Iain, you are a master in reducing noise issues!!!

For example, try "Fill Holes" filter with the original fluffybunny image here:
http://gimpchat.com/viewtopic.php?f=18&t=8017

Apply the filter with the next options:
Morph radius: 8
Edge radius: 50
Close radius: 0
Check "Fill light colours" option.

See the result in scratching on the floor. It's magical :)
Then if you want you apply GIMP unsharp mask for more detail.

i have almost no experience with photo manipulation, so i tried the filter on Fb's image - its indeed magical !
how did you find the values, YAFU ?
just playing around or is there a method ?


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Fri May 16, 2014 2:57 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 725
Hello Esper.
I have to repair hundreds of old negatives that I scanned, and I am researching different "automatic" methods of noise reduction. Manually fix each of them would be an endless job.
The main problems I have are related to the preservation of edges and details in noise reduction filters, and with scratches and hard/hot bright little stains/dots. Scratches and bright stains/dots are hard to automatically repair because the filter must smartly determine in the image what is scratches or noise dot, and what is not.
I researched different methods. Also "I borrowed" Photoshop to compare its filters with GIMP filters. I think GIMP filters are as good as those in Photoshop. But "Iain" filters in G'MIC outperform any filter I've tried. They are excellent!

Regarding how I found the values for that photo, I had sensed that this filter could be used to what I was needing, and just playing with values and watching the G'MIC "preview" I got the result. That's why it is so important the "preview" feature in filters/plugins!!!

_________________
Image
Be patient, English is not my language.


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Fri May 16, 2014 3:14 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2774
YAFU wrote:
Regarding how I found the values for that photo, I had sensed that this filter could be used to what I was needing, and just playing with values and watching the G'MIC "preview" I got the result. That's why it is so important the "preview" feature in filters/plugins!!!

so do you think understanding what each feature of a G'MIC filter does is unimportant ?

i mostly feel im very much in the dark, when i try to change values and options
its G'MICs greatest weakness and its great Rononours finally does his video tutorials


Top
 Post subject: Re: My Noise Reduction Filter.
PostPosted: Fri May 16, 2014 3:33 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Nov 09, 2011
Posts: 725
Of course it is also important to know what each feature does. I admit often I have no idea what it does some item/value in G'MIC filters, so I must experiment to know what it does. In some filters there is a small explanation of how to use it. As is the case with "Fill Holes" where you can read a little explanation.

I have seen that this filter can be useful in old or black and white photos (which is what I need). It is not so good with sharp colorful images.

_________________
Image
Be patient, English is not my language.


Top
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) New noise reduction filter to test

26

No new posts Noise Reduction Filter improvement suggestions wanted

6

No new posts Attachment(s) Gmic filter- Noise Painting (Testing>Naggobot)

9

No new posts Does anyone have tried PhotoShop filter "camera shake reduction"?

9

No new posts Attachment(s) New filter "Test Noise" - G'MIC-Gimp

7



* Login  



Powered by phpBB3 © phpBB Group