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. |
|
|
Thread Tools | Search this Thread | Display Modes |
29th August 2022, 19:28 | #1 | Link |
Registered User
Join Date: Jul 2022
Posts: 5
|
Dehalo_Beta_Package: a fork of Dehalo_alpha and FineDehalo
https://github.com/DonCanjas/Avisynt...o_Beta_Package
Dehalo_Beta_Package consists of Dehalo_Beta, a fork of Dehalo_alpha; and FineBeta, a fork of FineDehalo. It currenlty supports YUV[A] & Y 8-32 bit. Dehalo_Beta Instead of built-in scalers, Dehalo_Beta uses avsresize and has the option to use libplacebo_resample with useplacebo=True. Code:
DGSource("haloed_clip.dgi") ConvertBits(16) src = last DA = src.DeHalo_Alpha(darkstr=0) DB = src.DeHalo_Beta() FineBeta FineBeta is basically the same as FineDehalo, but uses Dehalo_Beta and by default it uses Kirsch to create an edgemask. On top of that, you can choose between 3 different masktypes: kirsch, old, TEdge. Old uses FineDehalo's default mask, TEdge will use TEdgemask and kirsch uses ex_edge's kirsch. You can also parse your own edgemask to FineBeta and, as in FineDehalo, input your own halo mask. Code:
DGSource("haloed_clip.dgi") ConvertBits(16) src = last FDH = src.FineDehalo(darkstr=0) FB = src.FineBeta() I'm planning on adding chroma dehaloing support for FineBeta. I'm thinking on using SSIM_downsample() to downscale luma's mask to chroma size and process every plane individually.
__________________
Check out my repo for stupid and/or possibly useful avs scripts: https://github.com/DonCanjas/Avisynth-Functions |
10th September 2022, 05:35 | #2 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,590
|
so DeHalo_Beta should give same output as DeHalo_alpha_2BD?
__________________
See My Avisynth Stuff |
10th September 2022, 23:18 | #3 | Link |
Registered User
Join Date: Jul 2022
Posts: 5
|
I forked it from Dehalo_alpha_mt2. It should have a similar output, tho you can see that it's not 1:1 when working with 16 bit video
__________________
Check out my repo for stupid and/or possibly useful avs scripts: https://github.com/DonCanjas/Avisynth-Functions |
12th September 2022, 07:30 | #4 | Link |
Registered User
Join Date: Apr 2019
Posts: 242
|
Here lies a problem.
Every time someone comes up with a plugin/script/whatever and post images showing suppose differences, I can't see where the differences are. Any chance you could insert and arrow or something onto the images to show what the differences are? |
13th September 2022, 01:46 | #5 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
CoolGit,
Maybe something like this [flip from even to odd frames] Code:
DGSource("haloed_clip.dgi") ConvertBits(16) src = last DA = src.DeHalo_Alpha(darkstr=0) DB = src.DeHalo_Beta() Interleave(DA,DB) # Even DA, Odd DB EDIT: OR eg, Code:
DGSource("haloed_clip.dgi") ConvertBits(16) src = last DA = src.DeHalo_Alpha(darkstr=0) DB = src.DeHalo_Beta() Interleave(src.Subtitle("Src"), DA.Subtitle("DA"), DB.Subtitle("DB")) EDIT: or with Src adjacent to both DA and DB [group of 4] Code:
Interleave(src.Subtitle("Src1"), DA.Subtitle("DA"), DB.Subtitle("DB"), src.Subtitle("Src2")) Code:
StackVertical(StackHorizontal(src.Subtitle("Src"),DA.Subtitle("DA")),StackHorizontal(src.Subtitle("Src"),DB.Subtitle("DB"))) Code:
StackVertical(StackHorizontal(src.Subtitle("Src"),DA.Subtitle("DA")),StackHorizontal(Subtract(DA,DB).Subtitle("DA-DB"),DB.Subtitle("DB")))
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 13th September 2022 at 02:01. |
19th September 2022, 15:36 | #7 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,008
|
I was just using example script in opening post,
DA, and DB, could be any 2 alternative results of any script.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
23rd September 2022, 09:21 | #9 | Link | |
Registered User
Join Date: Jul 2022
Posts: 5
|
Quote:
https://github.com/realfinder/AVS-St...RF_Shared.avsi
__________________
Check out my repo for stupid and/or possibly useful avs scripts: https://github.com/DonCanjas/Avisynth-Functions |
|
15th October 2024, 18:17 | #10 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,796
|
Quote:
Plus I can't find Retinex_MSRCP anywhere. Thank you!
__________________
@turment on Telegram Last edited by tormento; 15th October 2024 at 18:35. |
|
15th October 2024, 20:48 | #11 | Link | |||
Registered User
Join Date: Sep 2007
Posts: 5,464
|
Quote:
https://github.com/realfinder/AVS-St...alpha_mt2.avsi Quote:
Quote:
https://github.com/Asd-g/AviSynth-Retinex Code:
MSRCP (clip clip, float[] "sigma", float "lower_thr", float "upper_thr", bool "fulls", bool "fulld", float "chroma_protect") |
|||
15th October 2024, 21:03 | #12 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,796
|
Actually, it's one of the various dehalo that I tried.
FineBeta is way more effective and less prone to destroy details. I had to rename RETINEX_MSRCP to MSRCP in the script to make it work.
__________________
@turment on Telegram |
16th October 2024, 11:49 | #15 | Link |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,796
|
Whenever I flag useplacebo=true, I get:
libplacebo_Resample: [error] vk->CreateDevice(vk->physd, &dinfo, PL_VK_ALLOC, &vk->dev): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:1299) [fatal] Failed creating logical device! [fatal] Failed initializing vulkan device Avslibplacebo works fine as standalone filter on my computer. Any idea?
__________________
@turment on Telegram |
Thread Tools | Search this Thread |
Display Modes | |
|
|