Log in

View Full Version : Halo/ghosting?


color
26th December 2022, 08:13
Halo problem

I am trying to "restore" this as good as possible. But there is a halo on the right-side (or ghosting, i did try ghostbuster and dehalo but i cant get it good at all), is it called something else and what can I do to fix this? There is a bit on the left side but not everywhere.

There is to the left original and to the right the one I am working with in the file on wetransfer.

https://we.tl/t-1hR4YkcjTm

https://i.ibb.co/88dZ6xC/vlcsnap-2022-12-26-10h09m55s136.png

color
26th December 2022, 09:29
I have also tried VHSHaloremover() it sort of works but it makes the overall image really blurry.

https://i.ibb.co/28K65vb/New-File-5-000150.png (https://ibb.co/k3cyM4d)
foto kartka (https://imgbb.com/)

kedautinh12
26th December 2022, 09:55
Try
dehalo_blah(rx=1.6,ry=1.6,darkstr=0.45,sharpness=100,sharptype="slow")
https://forum.doom9.org/showthread.php?t=170568

Reel.Deel
26th December 2022, 10:00
Give Dering a try: https://forum.doom9.org/showthread.php?t=184570

https://i.ibb.co/9NMk159/bwhalo-dering.png
FFImageSource("Screenshot-20221226-081020-2.png")
Crop(0,1,0,0)
ConvertToYV12()
Dering(last)

The result is by no means perfect but maybe it can be improved by tweaking the parameters. I remember you saying you only use 32-bit AVS+, well this plugin only works with 64-bit AVS+ at the moment. Although, support has been added but no current test version.

-----

Try

https://forum.doom9.org/showthread.php?t=170568

You should try your own suggestions :rolleyes:. That does not do anything against the haloes, it just sharpens the image a bit.

color
26th December 2022, 10:06
Give Dering a try: https://forum.doom9.org/showthread.php?t=184570

https://i.ibb.co/9NMk159/bwhalo-dering.png
FFImageSource("Screenshot-20221226-081020-2.png")
Crop(0,1,0,0)
ConvertToYV12()
Dering(last)

The result is by no means perfect but maybe it can be improved by tweaking the parameters. I remember you saying you only use 32-bit AVS+, well this plugin only works with 64-bit AVS+ at the moment. Although, support has been added but no current test version.

I have accouly started using 64-bit as well. i have installed for 64-bit now so its possible for me to use it now.

I will check it out and dehalo_blah

kedautinh12
26th December 2022, 10:17
Ok, you can change other value and remove shape if you don't like it.
Example
dehalo_blah(rx=1.6,ry=1.6,darkstr=0.45)

color
26th December 2022, 10:30
I did try, I think Dering is the best, but I think it needs a bit more tweaks.

clip1=VHSHaloremover()
clip2=dehalo_blah(rx=1.6,ry=1.6,darkstr=0.45)
clip3=Dering(last, A=0.3, W=4.5, RelVisibleTh=0.001, AbsVisibleTh=0.005,PostFilter="median2")


https://i.ibb.co/Q6fskKw/New-File-7-000079.png

color
26th December 2022, 10:37
BTW, I can not crop 1 pixel .Crop(0,1,0,0) I get "Crop: YUV image can only be cropped by Mod 2 (top)" I did try most but I get "Image height must be multiple of 2", I tried convertto and tried colorspace here: http://avisynth.nl/index.php/Crop

Reel.Deel
26th December 2022, 10:42
BTW, I can not crop 1 pixel .Crop(0,1,0,0) I get "Crop: YUV image can only be cropped by Mod 2 (top)" I did try most but I get "Image height must be multiple of 2", I tried convertto and tried colorspace here: http://avisynth.nl/index.php/Crop

I only cropped because the image you supplied in the first post had an odd dimension. If your video is already YV12, you shouldn't need to crop.

kedautinh12
26th December 2022, 10:42
Try Crop(0,2,0,0) or you need change to other colors space :D

kedautinh12
26th December 2022, 12:23
like i said when try other value:
dehalo_blah(rx=5,ry=1, highsens=10, sw=5)
https://i.imgur.com/eQsFJfl.png

more shapen:
dehalo_blah(rx=5,ry=1, highsens=10, sw=5)
ex_unsharp(0.2,0.4,float(width())/5, 1)
https://i.imgur.com/abM8fj7.png

Dogway
26th December 2022, 16:09
My attempt:
a=last

msk=ex_edge(mode="kroon", lo=150, invert=false)
msk=msk.ex_expand(5,mode="horizontal").ex_blur(2,0,mode="gaussian")
ex_unsharp(-0.5,0, Fc=704/4, th=0, safe=false)
ex_merge(a,last,msk,luma=true)

MCaWarpSharp4(4,4)
interleave(a,last)
https://i.imgur.com/1BsVP4w.png

color
26th December 2022, 18:02
My attempt:
a=last

msk=ex_edge(mode="kroon", lo=150, invert=false)
msk=msk.ex_expand(5,mode="horizontal").ex_blur(2,0,mode="gaussian")
ex_unsharp(-0.5,0, Fc=704/4, th=0, safe=false)
ex_merge(a,last,msk,luma=true)

MCaWarpSharp4(4,4)
interleave(a,last)
https://i.imgur.com/1BsVP4w.png

I think this looks so much better. Thank you. ☺️