Log in

View Full Version : Black Halos


Hotte
14th January 2016, 14:05
Hi,
I have deinterlaced SD footage (720x576 50i) from my 2001 Panasonic camera using qtgmc slow. Depending on backround light the material shows heavy white and black halo artifacts (not from qtgmc of course).

Iīve always been using dehalo_alpha and tried out some from the dehaloers from the external filters wiki. Dehalo_alpha is excellent for the white halos, but I canīt manage the black halos satisfyingly.

With dehalo_alpha if I increase radius heavily (I tried rx,ry=2,5 and 3,5), there is asignificant drop of overall contrast and videos become aquarell like.

With increased darkstring (2.0 instead of 1.0) I am getting artifacts on the black lines.

See http://imgur.com/a/Bbhyi for samples.

Any ideas ?

Mounir
14th January 2016, 14:35
Try this:
FastLineDarken(luma_cap=28,thinning=220) #may require some more tweaking
mergeluma(aWarpSharp(depth=9, thresh=0.6, blurlevel=1, cm=1))

Hotte
15th January 2016, 08:47
Thank you. This is an interesting solution with potential.
I had to change the code slightly to get a proper output. Did I do it correctly ?

clp1 = FastLineDarken(luma_cap=28,thinning=220)
mergeluma(aWarpSharp(depth=9, thresh=0.6, blurlevel=1, cm=1), clp1)

I tweaked luma_cap, I did not gain a lot with thinning - samples (new picture):

http://imgur.com/gallery/1biQ5/new

With luma_cap=28 there was only very little improvement. With luma_cap=90 dark halos are getting partly white saying that the white areas "grow", however those white edges tend to blurr as you increase luma_cap further to kill more of the black halos. If you look at the carpet you can see there is not much room for more luma_cap.

Suggestions ?