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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 24th March 2021, 14:27   #1  |  Link
baka1
baka1
 
Join Date: May 2020
Posts: 31
Lines on the edges of suits

https://mega.nz/file/vKhB2QKB#p9yDRd...BzWnVC723Y7YhA

So I thought it was a halo or ringing - DeHalo_alpha and HQDering doesn't do anything. Nor does antialiasing filter. Given it's on the edges - I'm thinking the solution has to be mask-related.
baka1 is offline   Reply With Quote
Old 25th March 2021, 15:31   #2  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
It's an anime, shouldn't there be lines at the edges of suits and basically anything?
You might want to share a screenshot in which you mark what is bothering you.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 26th March 2021, 08:38   #3  |  Link
baka1
baka1
 
Join Date: May 2020
Posts: 31
It's not an anime - hopefully the red circles help with identifying the weird edges

baka1 is offline   Reply With Quote
Old 26th March 2021, 09:22   #4  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Sharpening halos along transients.
You may use convolution to compensate that.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 26th March 2021, 11:02   #5  |  Link
baka1
baka1
 
Join Date: May 2020
Posts: 31
Hmm defining the matrix is more fiddly than (most) other Avisynth filters - this will be fun!
baka1 is offline   Reply With Quote
Old 26th March 2021, 12:53   #6  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
I just made such a pair of compensation kernels for positive/negative gradients with more than -+10 taps horizontally.
Worked nicely here for the huge ghosting halos of an aged CCD Handycam.

But indeed it takes lots of time to handmatch so many taps.
In your case I guess -+1 to -+4 taps might do.

Hmm, now that I have downloaded and examined your source video:
Only the cuts of the arrival scene cam have it, the artifacts don't follow the contours perfectly,
rather form exact vertical colums, as seen with an uprezzed shot from a poor cam.

Another cam fault: echo trails of lefthand bright parts (outside handrail run and floor) propagating to the right,
visible as pale overlay over dark content decaying by (1-1/e) after 10 to 90% of frame width (lady's black gown, men's dark suits).

Often seen fault, let's make a script to compensate that !
Or is there a plugin already ?

The other cam's close-to-face cuts do not exhibit the first fault in that depth,
but the second (rightbound bright trails), although to a lesser degree (white handkerchief)

Maybe a different approach is needed here.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 26th March 2021 at 13:43.
Emulgator is offline   Reply With Quote
Old 26th March 2021, 14:46   #7  |  Link
Hotte
Registered User
 
Join Date: Oct 2014
Posts: 209
@Emulgator, to be honest I do not understand what you are talking about. Is there a tool, sth to try out ? Huge ghosting halos is sth I am also really interested in any best practise.

Last edited by Hotte; 26th March 2021 at 14:51.
Hotte is offline   Reply With Quote
Old 26th March 2021, 18:28   #8  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Have fun with it !

https://forum.doom9.org/showthread.p...50#post1939150
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."

Last edited by Emulgator; 27th March 2021 at 11:30. Reason: Opened a separate thread about it
Emulgator is offline   Reply With Quote
Old 27th March 2021, 00:40   #9  |  Link
baka1
baka1
 
Join Date: May 2020
Posts: 31
@Emulgator, I wasn't able to use the script above. But I did find a simpler script in your other posts.

Code:
string1 = string(" 0 -20 28 -32 36 36 128 128 72 -56 12 12 -4 ")
mt_convolution(horizontal=" "+string(string1)+" ", vertical=" 1 ", u=3, v=3)
https://slow.pics/c/eaDayoF0 - before (top), after (bottom)




So the left-sided halos are removed really well - just the right-sided ones and it doesn't seem like the overall picture has been softened/blurred.
baka1 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.