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. |
![]() |
#742 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
Break, I don't know but I have to rebase for prefilter=0 and prefilter=4, that's about what I found, did you find something else?
EDIT: I updated SMDegrain with default overlap=blksize/4 when refinemotion is used. There's a slight increase in detail retention (high and low freq) when there's motion, also a bit less denoising but minimum, so worth it IMO. I also added the curve plot to ex_luma_rebuild() when used as a standalone and also with SMDegrain(show=true), so you know what's going on underneath. Also fixed the small issues related to the 'fulls' args.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 8th January 2022 at 20:19. |
![]() |
![]() |
![]() |
#743 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,913
|
Updated all your scripts to latest versions.
With SMDegrain (tr=6, thSAD=600, refinemotion=true, contrasharp=false, PreFilter=6, plane=4, chroma=true, LFR=true, DCTFlicker=true) I get: Script Error I don't know what 'fs' means. (D:/Programmi/Media/AviSynth+/plugins64/ExTools-7.2~Dogway.avsi, line 5678) (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.4.1d~Dogway.avsi, line 411) (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.4.1d~Dogway.avsi, line 416) (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.4.1d~Dogway.avsi, line 416) (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.4.1d~Dogway.avsi, line 421) (D:/Programmi/Media/AviSynth+/plugins64/SMDegrain-3.4.1d~Dogway.avsi, line 612) It doesn't happen for: SMDegrain (tr=6, thSAD=600, refinemotion=true, contrasharp=false, PreFilter=6, plane=4, chroma=true)
__________________
@turment on Telegram Last edited by tormento; 9th January 2022 at 19:06. |
![]() |
![]() |
![]() |
#744 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
Yep, thank you! it's a typo on line 5678 of ExTools, should be " str = ex_dlut (str, bi, un)"
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
![]() |
![]() |
![]() |
#746 | Link |
Registered User
Join Date: Oct 2011
Location: Dans le nord
Posts: 65
|
Thank you for all your nice work, do you think a non binarized mt_hysteresis would be possible. Like we could set threshold for each layer, it would then return Us with the original softer mask.
Most of all would this be pertinent. |
![]() |
![]() |
![]() |
#747 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
At the time I had a look at mt_hysteresis source code and didn't understand a thing, well maybe only that uses lots of loops so this is not something that can be translated well to AVS syntax, at least efficiently. This is something for plugin developers.
Non-binarized hysteresis sounds strange, what's your use case? By the way, I released PseudoColor() to map luminosity to a rainbow type heat map, useful for luminosity segmentation or to augment luma ranges and devise its isoparams, but specially useful to debug algorithms such as blend modes or gradient magnitudes, etc. It's fast because it doesn't go through RGB. ![]() EDIT: Also I'm going to start running zopti for optimal frame interpolation, I have a few ideas, not that it will replace FRC but I will experiment a bit.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 14th January 2022 at 22:10. |
![]() |
![]() |
![]() |
#748 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,817
|
Is the "change limiter" in SPresso somehow possible to turn into a helper function? I did try real.finders sh_limitchange, but it's not working as well as the limit of change in SPresso (somehow starts working only at limit 0.5).
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#749 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
sh_LimitChange looks to me like simple ex_clamp/mt_clamp. In SPresso there are two modes with negative and positive 'Limit' and also additional 'Bias' args. To be honest I haven't researched the algo I simply optimized from Didee's original. There's also a limiter by cretindesalpes that I haven't ported.
Check here if it works fine for you.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
![]() |
![]() |
![]() |
#750 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,817
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#751 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,620
|
Quote:
as for "limiter by cretindesalpes" https://github.com/realfinder/AVS-St...ared.avsi#L476
__________________
See My Avisynth Stuff |
|
![]() |
![]() |
![]() |
#752 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
Thanks! I'm a bit busy with Zopti currently but I will try to optimize when I can. Tuning MAnalyse is important as it impacts QTGMC, FrameRateConverter and SMDegrain by picking the optimal pareto of the convex hull. I also want to finish the Harris corner detection and SAD Analysis tool.
I normally don't add ports to ExTools or at least expressions that I don't have full understanding of, I will check what I do as a limiter is some kind of a mask so also considered MasksPack.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
![]() |
![]() |
![]() |
#754 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
Thanks for heads up. I fixed "ChromaReconstructor v3mod" and also a few things in TransformsPack. Should work fine now, let me know.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
![]() |
![]() |
![]() |
#755 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,817
|
Is there something broken with ex_minblur, or have I copy-pasted/updated something incorrectly? In this example, the clip 'prefilt' is very much washed out, and if you comment ex_minblur out, it's ok.
Code:
clp=DGSource("test.dgi") # regular 8-bit source prefiltbits=8 orgbits=8 prefilt = clp.convertbits(bits=prefiltbits) prefilt = prefilt.ex_minblur(r=2, uv=3) prefilt = prefilt.ex_luma_rebuild(s0=3.0, uv=3) prefilt = prefilt.convertbits(orgbits) clp = clp.ex_luma_rebuild(s0=3.0, uv=3) interleave(clp, prefilt)
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
![]() |
![]() |
![]() |
#756 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
Loader probably didn't write "_ColorRange" frameprops, then ex_minblur() wrongly assumes PC level and writes the frameprops (will investigate this), and the brightening is performed by ex_luma_rebuild() reading the wrong frameprops, for the time being use ex_luma_rebuild(s0=3.0, uv=3, tv_range=true)
EDIT: The output of ex_minblur() is inheriting the frameprops of the masks (ex_makediff()) so that's why it's "_ColorRange" = 0. By changing the clip order this is fixed. Normally I pay attention to this but it might happen somewhere else. Fixed line in ex_minblur(): Code:
ex_lutxyz(clp,rg12D,RG4D,"y "+bi32+" A@ x z - B@ * 0 < x A abs B abs < x A - z ? ?",Y=y,UV=uv,fulls=fs)
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 23rd January 2022 at 14:56. |
![]() |
![]() |
![]() |
#757 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,817
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#758 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,372
|
Check now, I updated SMDegrain(). Results from Zopti will come on a later version fro v3.5.0.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
![]() |
![]() |
![]() |
#759 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,817
|
Quote:
![]()
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#760 | Link | |
Registered User
Join Date: Dec 2005
Location: Sweden
Posts: 721
|
Quote:
Code:
Script error: there is no function named 'SI_physicalcores' My Avs+ version is this Avisynth 3.7.1 FINAL x64 |
|
![]() |
![]() |
![]() |
Tags |
avisynth, dogway, filters, hbd, packs |
Thread Tools | Search this Thread |
Display Modes | |
|
|