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. |
24th February 2014, 17:42 | #1 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
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) 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) So I created another mask to protect dark areas Code:
mt_lutxy(denoised,source,yepxr="x y - 0 < x y ?") Last edited by bxyhxyh; 25th February 2014 at 16:44. Reason: typo |
Tags |
denoise, mdegrain, oversmooth |
|
|