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. |
![]() |
#1 | Link |
Registered User
Join Date: Aug 2011
Posts: 103
|
mvsfunc-r8
Github | NMM
Examples: Code:
import mvsfunc as mvf # Any input depth clip = mvf.Depth(clip, depth=16) # 16-bit integer output # Any input depth clip = mvf.Depth(clip, depth=32) # 32-bit float output # Any input format clip = mvf.ToYUV(clip, css="420") # YUV420P output # Any input format clip = mvf.ToRGB(clip, depth=8) # RGB24 output (e.g. for previewing using vsedit) # Faster way to preview with RGB24 output, for vsedit clip = mvf.Preview(clip) # Preview with CompatBGR32 output, for VirtualDub, AvsPmod, etc. clip = mvf.Preview(clip, compat=True) # Compare multiple clips, they will be interleaved into one clip clip = mvf.Preview([clip1, clip2, clip3]) # Any input format clip = mvf.BM3D(clip, sigma=[3,3,3], radius1=0) # radius1=0 for BM3D, radius1>0 for V-BM3D # Same as input format It's written a few months ago, now finally publish it here. (I thought I should merge nnedi3_resample into it but I'm just too lazy to touch that monster...) Last edited by mawen1250; 31st July 2016 at 14:37. Reason: Update r8 |
![]() |
![]() |
![]() |
#7 | Link |
Registered User
Join Date: Aug 2011
Posts: 103
|
Update r5
BM3D: fixed the mistake that bm3d.Basic/bm3d.VBasic is used for final estimate BM3D: now psample always defaults to 1 ToYUV: fixed error with GRAY input New category "Runtime functions" Added runtime function FilterIf() Added helper function CheckVersion() |
![]() |
![]() |
![]() |
#10 | Link |
Registered User
Join Date: Aug 2011
Posts: 103
|
Thanks for your reporting.
Practically, it doesn't make sense when sigma is 0 for all planes (theoretically no processing). Moreover, for V-BM3D, it probably doesn't have an elegant and efficient way to pass through unprocessed planes. So for BM3D plugin, I won't do anything to deal with sigma=0. But for mvf.BM3D, it is easy to skip calling BM3D internally, and here's the fix. Last edited by mawen1250; 14th February 2016 at 06:10. |
![]() |
![]() |
![]() |
#11 | Link |
Registered User
Join Date: Aug 2011
Posts: 103
|
Update r7
Depth: now prefer fmtc.bitdepth for full range content Depth, ToRGB, ToYUV, BM3D, zDepth: new argument "prefer_props" ToRGB: new argument "compat" to support CompatBGR32 output ***EXPERIMENTAL*** Added Utility function CheckMatrix() Added Utility function postfix2infix() Added Helper function GrayScale() Added Helper function Preview() |
![]() |
![]() |
![]() |
#12 | Link |
Registered User
Join Date: Aug 2011
Posts: 103
|
Update r8
New Main function VFRSplice() Preview: Set default dither to "random" to avoid banding Depth, ToRGB, ToYUV, BM3D: When sample conversion is required but 'depth' is not set, use 16-bit for integer and 32-bit for float LimitFilter: fixed error when thr>0&brighten_thr<=0 or thr<=0&brighten_thr>0 LimitFilter: fixed brighten_thr is not used when elast<=1 Frame properties related fixes |
![]() |
![]() |
![]() |
#14 | Link | |
Registered User
Join Date: Aug 2011
Posts: 103
|
Quote:
However this is not a part of the BM3D procedure itself, so I won't add it to the function. It's a better choice to have a separate function to do the job. Since the procedure is quite simple, and there're many ways to adjust the difference clip, I couldn't see the convenience to write a function for it... Last edited by mawen1250; 24th August 2016 at 19:59. |
|
![]() |
![]() |
![]() |
#15 | Link | |
Registered User
Join Date: Sep 2006
Posts: 1,645
|
Quote:
And it's not uncommon for denoise filter to have a show noise option, most of the denoise filters in virtualdub have had a show noise option built in on the same UI. It's just more convenience. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|