Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th February 2014, 17:42   #1  |  Link
bxyhxyh
Registered User
 
Join Date: Dec 2011
Posts: 349
MDegrain, protect fast motion dark areas

MDegrain oversmooths dark areas of the video.
We use our own tricks to protect dark areas.
something like
Code:
source=source()
mask=mt_lut("expression to protect dark areas")
normaldegrain=mdegrain(source,plane=4)
mt_merge(contdegrain,source,mask,u=2,v=2)
It doesn't denoise much on dark areas.

Mine is:
Code:
source=source()
normaldegrain=mdegrain(source,plane=4)
cont=s.mt_lut(yexpr="x 2.5 *",u=2,v=2)
contdegrain=mdegrain(cont,plane=0)
mask=contdegrain.mt_lut("x 252 - 255 *").grayscale.invert()
contdegrain=contdegrain.mt_lut(yexpr="x 2.5 /",u=2,v=2)
mt_merge(normaldegain,contdegrain,mask,u=2,v=2)
It still smooths dark areas. But not as much as normaldegrain.

So I created another mask to protect dark areas
Code:
mt_lutxy(denoised,source,yepxr="x y - 0 < x y ?")
but it protects "black" noises too. What should i do to eliminate "black" noises? Or you can give me better methods.

Last edited by bxyhxyh; 25th February 2014 at 16:44. Reason: typo
bxyhxyh is offline   Reply With Quote
Reply

Tags
denoise, mdegrain, oversmooth

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:45.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.