DonCanjas
29th August 2022, 19:28
https://github.com/DonCanjas/Avisynth-Functions/tree/main/Dehalo_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 (https://forum.doom9.org/showthread.php?t=173986) and has the option to use libplacebo_resample (https://github.com/Asd-g/avslibplacebo) with useplacebo=True.
DGSource("haloed_clip.dgi")
ConvertBits(16)
src = last
DA = src.DeHalo_Alpha(darkstr=0)
DB = src.DeHalo_Beta()
https://i.ibb.co/SP16m5D/raw-DA-DB-015538.png (https://ibb.co/SP16m5D)
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.
DGSource("haloed_clip.dgi")
ConvertBits(16)
src = last
FDH = src.FineDehalo(darkstr=0)
FB = src.FineBeta()
https://i.ibb.co/qCp05vY/raw-fdh-fb-015538.png (https://ibb.co/qCp05vY)
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.
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 (https://forum.doom9.org/showthread.php?t=173986) and has the option to use libplacebo_resample (https://github.com/Asd-g/avslibplacebo) with useplacebo=True.
DGSource("haloed_clip.dgi")
ConvertBits(16)
src = last
DA = src.DeHalo_Alpha(darkstr=0)
DB = src.DeHalo_Beta()
https://i.ibb.co/SP16m5D/raw-DA-DB-015538.png (https://ibb.co/SP16m5D)
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.
DGSource("haloed_clip.dgi")
ConvertBits(16)
src = last
FDH = src.FineDehalo(darkstr=0)
FB = src.FineBeta()
https://i.ibb.co/qCp05vY/raw-fdh-fb-015538.png (https://ibb.co/qCp05vY)
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.