VideoHelp Forum
+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. I have a Blu-Ray source that seems to have an unusually high amount of grain or color splotches all over. I have seen lots of older animated things with alot of grain, but this one seems ridiculous. I can reduce the grain at the cost of some detail loss, but whats with all the messed up looking colors as well? Those color splotches do not seem to get reduced much even with strong grain removal. Its almost as if it was compressed way too much or something on the Blu-Ray.

    Can I clean this up without heavy DNR, or at least make all that heavy grain and colors that are moving moving, blend in better with dithering or something? It's very distracting seeing all that moving around rapidly over everything.

    Here are some example images.

    https://forum.videohelp.com/images/imgfiles/LRhnibd.png

    https://forum.videohelp.com/images/imgfiles/oNcxSSp.png

    https://forum.videohelp.com/images/imgfiles/nCeE1T8.png
    Quote Quote  
  2. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    For low levels of noise removal (like general film noise) I just like to use qtgmc in progressive mode. It will temporally smooth it and slightly sharpen it.

    Code:
    QTGMC( Preset="Slow", InputType=1 )
    Quote Quote  
  3. If you're going to use QTGMC add EZDenoise=2.0 and DenoiseMC=true:

    Code:
    QTGMC( Preset="Slow", InputType=1, EZDenoise=2.0, DenoiseMC=true)
    Increase EZDenoise for more noise removal, decrease it for less.

    Other possibilities include TemporalDegrain(), MCTemporalDenoise(), TNLMeans(), etc.

    http://avisynth.nl/index.php/External_filters#Denoisers
    Last edited by jagabo; 11th Apr 2018 at 17:01.
    Quote Quote  
  4. I'm not going to use QTGMC for denoising. I have MCTemporalDenoise for that job and that's what I was trying out before I even asked about this. Problem is, its not really getting rid of what I was hoping to. I can reduce grain with a sigma setting of 4-6, but I make it so strong that the video is getting a lot of detail loss. I was asking about doing without strong DNR.

    I reduced it with a setting of sigma=2 to help keep details and get a slight cleanup, but it looks like there's a lot of color splotches/speckles in with the grain. ((Not sure of the technical term)) Even smudged to hell with a strong sigma setting and grain lessened, I still notice all those other colors or specks on there. The most obvious are the yellowish ones or purple/blue ones. That's what I really want to clean up, even more so than the grain.

    Would dithering add grain that would cover the moving grain and make it appear to be moving around less as a result? I have not really used dithering so I am not a professional with it. I just know it's usually used to help cover up banding.
    Quote Quote  
  5. Try stronger noise reduction on the chroma, less on the luma. As usual, a sample of your video will get you more specific help.
    Last edited by jagabo; 11th Apr 2018 at 20:29.
    Quote Quote  
  6. Originally Posted by jagabo View Post
    Try stronger noise reduction on the chroma, less on the luma. As usual, a sample of your video will get you more specific help.
    I have never tried it before and not sure if I know how to do them separately or not.


    Here is a sample clip

    https://mega.nz/#!s1YEVYyQ!-ivzEO9VlyKHSqa0ftWHZTnhv97utu_4PdAY5FZebtc
    Quote Quote  
  7. I'll look at the clip later when I have time. But to apply different filtering to luma and chroma:

    Code:
    luma = SomeFilter()
    chroma = SomeDifferentFilter()
    MergeChroma(luma, chroma)
    Quote Quote  
  8. Do you find this acceptable? There's a little detail loss but it's much cleaner.
    Image Attached Files
    Quote Quote  
  9. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    My suggestion for basic progressive QTGMC was more for removing finer film noise but that sample has some pretty aggressive noise. It looks to be a mixture of film noise and also the noise from a hot image sensor used to capture the film to digital, as a hot senor is also a noisy sensor.

    After messing around with a few filters, I liked how the below turned out.

    Code:
    TemporalDegrain(degrain=3, ov=4, blksize=16, gpu=true)
    It has GPU support too.

    http://avisynth.nl/index.php/Temporal_Degrain
    Quote Quote  
  10. Originally Posted by jagabo View Post
    Do you find this acceptable? There's a little detail loss but it's much cleaner.
    Wow, now that's some heavy duty cleanup. What did you use? Id like to play around with it some for adjustments I may like.
    Quote Quote  
  11. Originally Posted by KarMa View Post
    My suggestion for basic progressive QTGMC was more for removing finer film noise but that sample has some pretty aggressive noise. It looks to be a mixture of film noise and also the noise from a hot image sensor used to capture the film to digital, as a hot senor is also a noisy sensor.

    After messing around with a few filters, I liked how the below turned out.

    Code:
    TemporalDegrain(degrain=3, ov=4, blksize=16, gpu=true)
    It has GPU support too.

    http://avisynth.nl/index.php/Temporal_Degrain
    That looks like it is fairly nice and does a nice job, but it is super slow. It takes 22-30 seconds just to be able to move to the next frame in the preview window. I don't mind the slowness if the quality and detail retention is there. I think I will consider this after I see what Jagabo did to it and compare the two.
    Quote Quote  
  12. Originally Posted by killerteengohan View Post
    Originally Posted by jagabo View Post
    Do you find this acceptable? There's a little detail loss but it's much cleaner.
    Wow, now that's some heavy duty cleanup. What did you use? Id like to play around with it some for adjustments I may like.
    It's very slow too:

    Code:
    McTemporalDenoise(settings="very high")
    TTempSmooth(strength=8, maxr=7, lthresh=8, cthresh=10, lmdiff=8, cmdiff=10)
    Quote Quote  
  13. Originally Posted by jagabo View Post
    Originally Posted by killerteengohan View Post
    Originally Posted by jagabo View Post
    Do you find this acceptable? There's a little detail loss but it's much cleaner.
    Wow, now that's some heavy duty cleanup. What did you use? Id like to play around with it some for adjustments I may like.
    It's very slow too:

    Code:
    McTemporalDenoise(settings="very high")
    TTempSmooth(strength=8, maxr=7, lthresh=8, cthresh=10, lmdiff=8, cmdiff=10)
    MeGui just hangs/freezes when I try this. I waited for almost 3 minutes and the preview window never changed at all.
    Quote Quote  
  14. I had to use 64 bit AviSynth+ and x264 CLI.

    I was able to get 32 bit VirtualDub to load it by using SetMemoryMax(512) in the AviSynth script.
    Last edited by jagabo; 15th Apr 2018 at 18:54.
    Quote Quote  
  15. Originally Posted by jagabo View Post
    I had to use 64 bit AviSynth+ and x264 CLI.

    I was able to get 32 bit VirtualDub to load it by using SetMemoryMax(512) in the AviSynth script.
    Adding in the SetMemoryMax(512) allowed it to work for me. I'm not sure why it worked, I have several GB of memory and 512MB is not much at all. Does AVISynth use less by default and I need to tell it that it can use more with that in the script? Would it benefit me to always add this in and or increase the 512 to 1024?
    Quote Quote  
  16. Well here are the final results of both of your suggestions.

    SOURCE
    https://forum.videohelp.com/images/imgfiles/kUMWY84.png

    KARMA
    https://forum.videohelp.com/images/imgfiles/7fjIFdf.png

    KARMA SAD1&2 GHOSTING REDUCED (SAD1=150, SAD2=100)
    https://forum.videohelp.com/images/imgfiles/sYGHmXH.png

    JAGABO
    https://forum.videohelp.com/images/imgfiles/Cx2OE4L.png


    Karma, yours cleans it well but it introduces ghosting. I reduced the sad1 and sad2 like the readme said and it seems to have stopped the ghosting or reduced it to where I barely notice it at all, but the cleaning power is drastically reduced. It still seems to clean what I wanted better than mctemporaldenoise, even if it does more damage to details than mctemporaldenoise.

    Jagabo, yours appears to have obliterated the video and removed entire things completely. It cleaned it well, but that damage is too extensive for my liking. I suppose I can play around with parameters and see if I can get it more to my liking, which I intend to do, but I am just going off of what was suggested for the examples.


    It appears I will just have keep playing with the two or deal with the added grain by reducing to 720p and then try reducing it with less strength. Thanks for the suggestions.
    Quote Quote  
  17. Yes, the extremely strong filtering I did will cause loss of detail -- especially in dark, low contrast areas. The sample you provided didn't have any dark shots like that.

    If you want to play with the script you may want to break it into two processes. MCTemporalDenoise() to a lossless intermediate, then TTempSmooth(). That should be much faster.
    Last edited by jagabo; 15th Apr 2018 at 20:39.
    Quote Quote  
  18. I was cleaning out my temp folder and saw your video. It's probably too late now but I forgot to mention this before: the noise in the video's U channel is much worse than the noise in the V channel. You might go back to my earlier suggestion of applying stronger noise reduction to the chroma than the luma. Something along the lines of:

    Code:
    Y = TemporalDegrain(SAD1=150, SAD2=100, degrain=3, ov=4, blksize=16, gpu=false)
    U = UtoY().TemporalDegrain(SAD1=400, SAD2=300, degrain=3, ov=4, blksize=16, gpu=false).HQDN3D(ls=4.0, lt=0, ct=0)
    V = VtoY().TemporalDegrain(SAD1=200, SAD2=150, degrain=1, ov=4, blksize=16, gpu=false).HQDN3D(ls=4.0, lt=0, ct=0)
    
    YtoUV(U, V, Y)
    That uses KarMa's TemporalDegrain settings with your mods for the Y channel, and stronger settings on the U and V channels. That gets rid of most of the splotchy chroma noise and should retain the low contrast detail that was lost in your sample in post 16.
    Last edited by jagabo; 27th Apr 2018 at 12:13.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!