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 > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th September 2023, 17:58   #1  |  Link
MMA
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
MMA is offline   Reply With Quote
Old 18th September 2023, 18:31   #2  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,590
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..."
Emulgator is offline   Reply With Quote
Old 18th September 2023, 22:17   #3  |  Link
MMA
Registered User
 
Join Date: Aug 2023
Posts: 2
I've never thought about using a delogo. I'll try the VS ones since i'm not familiar with AS.
MMA is offline   Reply With Quote
Old 19th September 2023, 09:21   #4  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
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
ChaosKing is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 13:32.


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