Maybe I'm doing it incorrectly but I am trying to remove a pesky watermark that lies halfway between pillarboxing and 4:3 picture.
I used vsutil en Logoscan to scan at a threshold of 30 and got a LOT of samples. When used it works quite well sometimes, being basically more or less invisible, but sometimes you can see the edges a bit, and sometimes quite easily.
Do note that because this source is 4:3 pillarboxed to 16:9, Logoscan couldn't get reasonable samples and therefore I had to use an alternative source where the content is full 16:9 to scan with. The other source is a very flat-style animated title in similar style to Rick and Morty, where blobs of color aren't fully flat/monotone and has gradients or textures.
This is the Logoscan result (19,533 samples, threshold of 30):
[Attachment 69961 - Click to enlarge]
And this is the result of using on a typical dark-ish frame (see bottom right, only 'CT' of the logo is visible):
[Attachment 69962 - Click to enlarge]
I assume this is caused by compression artifacts messing up the result a bit but I see DelogoHD's example screenshots be done incredibly well, as well as seeing other people get incredible results (though I don't know if Delogo/DelogoHD is what they use).
On other frames that are typically brighter, I get fantastic results. See below for an example of final frame after all post-processing.
[Attachment 69963 - Click to enlarge]
If using Logoscan+Delogo is outdated, please inform me. Processing time is not an issue.
+ Reply to Thread
Results 1 to 7 of 7
Last edited by PRAGMA; 25th Mar 2023 at 02:57.
Use KNLMeans() over the logo area. You'll lose a little detail in the area though.
ImageSource("image2.png", start=0, end=23, fps=23.976) ConvertToYV12() logo = Crop(1050, 648, 64, 48) logo = logo.KNLMeansCL(d=0, a=4, h=4.0)#.ColorYUV(off_y=50) lmask = BlankClip(logo, color=$ffffff).Crop(2,2,-2,-2).AddBorders(2,2,2,2).ColorYUV(cont_y=40).Blur(1.4) Overlay(last, logo, x=1050, y=648, mask=lmask)
[Attachment 69974 - Click to enlarge]
I personally use VapourSynth but I see Havsfunc has a convenience function to do the same KNLMeansCL call, works great.
However, on some frames, you can still quite clearly see a sort of faint C. Not really speckles or outlines, but like an imprint.
On the frame you tested, this doesn't occur. But in a few frames earlier it does.
Am I to assume the mask you did is just a sort of blur on top? I'd ideally want to avoid something like that, even if that means going overkill with a denoiser in the area. I think this way would work better for this source.
Also, you may want to use a larger logo area. I may have clipped a little too closely. Or build the mask from the logo itself rather than using a rectangular area.
Last edited by jagabo; 25th Mar 2023 at 10:33.
VapourSynth and it seems like that hasn't received a port.
Left over ghosting and artifacts after deinterlacing cartoonBy ThaKarra in forum RestorationReplies: 6Last Post: 13th Mar 2023, 21:41
[help] another delogo try - samplesBy maudit in forum EditingReplies: 4Last Post: 4th Sep 2022, 14:18
Best way to reduce DVD artifacts while preserving details?By GlitchBob in forum RestorationReplies: 12Last Post: 2nd Jun 2021, 00:18
Delogo live with mpc-hcBy redscreen in forum EditingReplies: 7Last Post: 21st Jun 2020, 10:23
Delogo v 1.3.2By natty in forum Newbie / General discussionsReplies: 2Last Post: 29th Oct 2018, 15:55