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. |
18th September 2023, 17:58 | #1 | Link |
Registered User
Join Date: Aug 2023
Posts: 2
|
Correcting solid pixels
I have a file with solid dead pixels across the entire video and i would like to have them corrected: https://i.imgur.com/WbNoV1C.png
They only show up in same line at the bottom border but their position changes with every frame. They also look like they are the same color every time. I was thinking about a Vapoursynth script that searches for the specific color and replaces each pixel with the average of the pixels immediately adjacent up or to the sides, provided the ones on the side are not of that same color. So i would need to create a mask to search for said color, apply a function to replace them and merge it only at the bottom border. I'm having a hard time executing it so i would appreciate if someone could help or point me in the right direction. Here is a full frame: https://imgbox.com/4Y0KCmFh |
18th September 2023, 18:31 | #2 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,671
|
What if you call these dead pixels a logo and use InpaintDeLogo ? ;-)
__________________
"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..." |
19th September 2023, 09:21 | #4 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,807
|
I would also try delogo.
A simple average (or blur) with Overlay+Crop could be also effective There's also https://github.com/AkarinVS/vapoursynth-plugin#expr which can access individual pixels. But expr is to cryptic for me...
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Thread Tools | Search this Thread |
Display Modes | |
|
|