Home All Groups Group Topic Archive Search About

Software to eliminate dead pixels on video

Author
30 Jul 2005 9:40 AM
Mark
Hi there,

I have a digital video camera, and unfortunately it now has ONE dead
pixel on the CCD. This results in an always white pixel on any video I
have recorded. Depending on the scene, it can be very distracting.

It would in fact be easy to fix this. All I need is software where you
can specify the location of the dead pixel, and it will then change its
colour to that of the average of the surrounding pixels. I am sure that
this would completely eliminate the problem in almost all (if not
completely all) situations.

Does anyone know of such software? Seems simple to do, but I haven't
heard of it anywhere.

Thanks,

Mark

Author
30 Jul 2005 1:01 PM
Alex Bird
Mark wrote:

> Does anyone know of such software? Seems simple to do, but I haven't
> heard of it anywhere.

I think you could make a bitmap mask and apply a strong gaussian blur
to the immediate area in premiere.  Not sure if this would completely
eliminate a bright white pixel though...

Alex
Author
30 Jul 2005 2:13 PM
Karyudo
On Sat, 30 Jul 2005 09:40:23 GMT, Mark <pleasenospam@nospam.com>
wrote:

>I have a digital video camera, and unfortunately it now has ONE dead
>pixel on the CCD. This results in an always white pixel on any video I
>have recorded. Depending on the scene, it can be very distracting.
>
>It would in fact be easy to fix this. All I need is software where you
>can specify the location of the dead pixel, and it will then change its
>colour to that of the average of the surrounding pixels. I am sure that
>this would completely eliminate the problem in almost all (if not
>completely all) situations.
>
>Does anyone know of such software? Seems simple to do, but I haven't
>heard of it anywhere.

Personally, I'd look at writing a quick AviSynth script to process
your incoming video. I've never heard of this exact problem being
tackled, but I've read about far more difficult problems being solved
with just a line or two of scripting. Try the forums at Doom9.org, at
http:/forum.doom9.org. There are two sub-forums (-fora?) you should
check: the DV one, and the AviSynth Usage one.
Author
3 Aug 2005 11:01 AM
Mark
Karyudo wrote:
Show quoteHide quote
> On Sat, 30 Jul 2005 09:40:23 GMT, Mark <pleasenospam@nospam.com>
> wrote:
>
>
>>I have a digital video camera, and unfortunately it now has ONE dead
>>pixel on the CCD. This results in an always white pixel on any video I
>>have recorded. Depending on the scene, it can be very distracting.
>>
>>It would in fact be easy to fix this. All I need is software where you
>>can specify the location of the dead pixel, and it will then change its
>>colour to that of the average of the surrounding pixels. I am sure that
>>this would completely eliminate the problem in almost all (if not
>>completely all) situations.
>>
>>Does anyone know of such software? Seems simple to do, but I haven't
>>heard of it anywhere.
>
>
> Personally, I'd look at writing a quick AviSynth script to process
> your incoming video. I've never heard of this exact problem being
> tackled, but I've read about far more difficult problems being solved
> with just a line or two of scripting. Try the forums at Doom9.org, at
> http:/forum.doom9.org. There are two sub-forums (-fora?) you should
> check: the DV one, and the AviSynth Usage one.


Thanks, I'll try asking on the doom9 forum if people think that this is
possible, and maybe if someone can do it (not sure if it is a big job or
a 2 minute thing). Seems to me that such a program would be useful to a
lot of people - better than throwing away a camera that may have cost
you 1000's of dollars.
Author
4 Aug 2005 5:47 AM
Karyudo
On Wed, 03 Aug 2005 11:01:34 GMT, Mark <pleasenospam@nospam.com>
wrote:

Show quoteHide quote
>Karyudo wrote:
>> On Sat, 30 Jul 2005 09:40:23 GMT, Mark <pleasenospam@nospam.com>
>> wrote:
>>
>>
>>>I have a digital video camera, and unfortunately it now has ONE dead
>>>pixel on the CCD. This results in an always white pixel on any video I
>>>have recorded. Depending on the scene, it can be very distracting.
>>>
>>>It would in fact be easy to fix this. All I need is software where you
>>>can specify the location of the dead pixel, and it will then change its
>>>colour to that of the average of the surrounding pixels. I am sure that
>>>this would completely eliminate the problem in almost all (if not
>>>completely all) situations.
>>>
>>>Does anyone know of such software? Seems simple to do, but I haven't
>>>heard of it anywhere.
>>
>>
>> Personally, I'd look at writing a quick AviSynth script to process
>> your incoming video. I've never heard of this exact problem being
>> tackled, but I've read about far more difficult problems being solved
>> with just a line or two of scripting. Try the forums at Doom9.org, at
>> http:/forum.doom9.org. There are two sub-forums (-fora?) you should
>> check: the DV one, and the AviSynth Usage one.
>
>
>Thanks, I'll try asking on the doom9 forum if people think that this is
>possible, and maybe if someone can do it (not sure if it is a big job or
>a 2 minute thing). Seems to me that such a program would be useful to a
>lot of people - better than throwing away a camera that may have cost
>you 1000's of dollars.

I suspect it's a two-minute thing. Someone who knows AviSynth well
(i.e. not me) will know exactly the right tools to invoke.

The beauty of AviSynth is that once you've got a script dialled in for
your particular camera -- one that targets the exact pixel you need --
it's reusable for every piece of footage you shoot. Just change the
name of the source file in the AVS (text) file, and you're done...
Author
24 Aug 2005 8:21 AM
Mark
Karyudo wrote:
Show quoteHide quote
> On Wed, 03 Aug 2005 11:01:34 GMT, Mark <pleasenospam@nospam.com>
> wrote:
>
>
>>Karyudo wrote:
>>
>>>On Sat, 30 Jul 2005 09:40:23 GMT, Mark <pleasenospam@nospam.com>
>>>wrote:
>>>
>>>
>>>
>>>>I have a digital video camera, and unfortunately it now has ONE dead
>>>>pixel on the CCD. This results in an always white pixel on any video I
>>>>have recorded. Depending on the scene, it can be very distracting.
>>>>
>>>>It would in fact be easy to fix this. All I need is software where you
>>>>can specify the location of the dead pixel, and it will then change its
>>>>colour to that of the average of the surrounding pixels. I am sure that
>>>>this would completely eliminate the problem in almost all (if not
>>>>completely all) situations.
>>>>
>>>>Does anyone know of such software? Seems simple to do, but I haven't
>>>>heard of it anywhere.
>>>
>>>
>>>Personally, I'd look at writing a quick AviSynth script to process
>>>your incoming video. I've never heard of this exact problem being
>>>tackled, but I've read about far more difficult problems being solved
>>>with just a line or two of scripting. Try the forums at Doom9.org, at
>>>http:/forum.doom9.org. There are two sub-forums (-fora?) you should
>>>check: the DV one, and the AviSynth Usage one.
>>
>>
>>Thanks, I'll try asking on the doom9 forum if people think that this is
>>possible, and maybe if someone can do it (not sure if it is a big job or
>>a 2 minute thing). Seems to me that such a program would be useful to a
>>lot of people - better than throwing away a camera that may have cost
>>you 1000's of dollars.
>
>
> I suspect it's a two-minute thing. Someone who knows AviSynth well
> (i.e. not me) will know exactly the right tools to invoke.
>
> The beauty of AviSynth is that once you've got a script dialled in for
> your particular camera -- one that targets the exact pixel you need --
> it's reusable for every piece of footage you shoot. Just change the
> name of the source file in the AVS (text) file, and you're done...

Just as a follow-up if anyone is reading this through google newsgroup
archives, a very kind programmer called kassandro wrote an avisynth
plugin/filter called removedeadpixels or removedeadpixel (the exact
title and documentation haven't been done yet).

It turned out to be much more difficult than I anticipated. Major
problem was that even though there was a single dead pixel, it also
corrupted adjacent pixels (possibly due to the compression in the DV
algorithm). I sent a lot of video clips and still frames to kassandro,
and he managed to analyse the effect under various circumstances. The
fantastic news is that this resulted in a filter that completely
eliminates the dead pixel. The result is really excellent, and saves me
from having to buy a new video camera. Hopefully it will help others
that have a similar problem as well.

Of course, you can also apply the filter to as many pixels as you want,
in case you have more than one dead pixel.
Author
24 Aug 2005 8:40 AM
Martin Heffels
On Wed, 24 Aug 2005 08:21:31 GMT, Mark <pleasenospam@nospam.com> wrote:

>Just as a follow-up if anyone is reading this through google newsgroup
>archives, a very kind programmer called kassandro

Good stuff. Thanks to both of you for all the work. It will certainly be a
handy plug-in :)

cheers

-martin-
--

"Beer is life!"
Author
25 Aug 2005 3:49 AM
Karyudo
On Wed, 24 Aug 2005 08:21:31 GMT, Mark <pleasenospam@nospam.com>
wrote:

>Just as a follow-up if anyone is reading this through google newsgroup
>archives, a very kind programmer called kassandro wrote an avisynth
>plugin/filter called removedeadpixels or removedeadpixel (the exact
>title and documentation haven't been done yet) [...] a filter that completely
>eliminates the dead pixel. The result is really excellent, and saves me
>from having to buy a new video camera. Hopefully it will help others
>that have a similar problem as well.

Hey, that's wicked. Yeah, kassandro's one of the incredibly clever
people who hang out at Doom9. And like most of the rest of the people
there, he's clearly willing to help!
Author
25 Aug 2005 7:55 AM
Martin Heffels
On Thu, 25 Aug 2005 03:49:49 GMT, Karyudo
<karyudo_use***@yahoo.com.remove.me> wrote:

>Hey, that's wicked. Yeah, kassandro's one of the incredibly clever
>people who hang out at Doom9. And like most of the rest of the people
>there, he's clearly willing to help!

Maybe Pinnacle should hire him :)

-m-
--

"Beer is life!"
Author
30 Jul 2005 2:47 PM
Cail Young
Show quote Hide quote
On 30/7/05 7:40 PM, "Mark" <pleasenospam@nospam.com> wrote:

> Hi there,
>
> I have a digital video camera, and unfortunately it now has ONE dead
> pixel on the CCD. This results in an always white pixel on any video I
> have recorded. Depending on the scene, it can be very distracting.
>
> It would in fact be easy to fix this. All I need is software where you
> can specify the location of the dead pixel, and it will then change its
> colour to that of the average of the surrounding pixels. I am sure that
> this would completely eliminate the problem in almost all (if not
> completely all) situations.
>
> Does anyone know of such software? Seems simple to do, but I haven't
> heard of it anywhere.
>
> Thanks,
>
> Mark

There's a Final Cut Pro plugin that'll do it but I don't know if that's much
help to you. Basically though you mask out the single pixel and apply a
sampled average of the surrounds to that pixel.

Be glad you've only got the one; friend of mine's XM1 has three!
Author
1 Aug 2005 1:13 PM
Ton van Doorn
>
> It would in fact be easy to fix this. All I need is software where you
> can specify the location of the dead pixel, and it will then change its
> colour to that of the average of the surrounding pixels. I am sure that
> this would completely eliminate the problem in almost all (if not
> completely all) situations.
>

Mark

I have had the same experience.
I know two solutions.
1. In Virtualdub use the filter Logoaway.
2. In Premiere make a copy of the track, and move it one pixel in any
direction
Make a mask of the pixel.
Use in Transparency the option Track Matte and the white pixel will be
"overwritten" by a surrounded pixel.
Sorry for the last sentence.


--
Met vriendelijke groeten

Ton van Doorn
Author
11 Aug 2005 9:48 AM
L David Matheny
Show quote Hide quote
"Mark" <pleasenospam@nospam.com> wrote in message news:bWHGe.66852$oJ.23474@news-server.bigpond.net.au...
> Hi there,
>
> I have a digital video camera, and unfortunately it now has ONE dead
> pixel on the CCD. This results in an always white pixel on any video I
> have recorded. Depending on the scene, it can be very distracting.
>
> It would in fact be easy to fix this. All I need is software where you
> can specify the location of the dead pixel, and it will then change its
> colour to that of the average of the surrounding pixels. I am sure that
> this would completely eliminate the problem in almost all (if not
> completely all) situations.
>
> Does anyone know of such software? Seems simple to do, but I
> haven't heard of it anywhere.
>
> Thanks,
>
> Mark
>
I seem to recall reading somewhere that some camcorders have
the capability to mask dead pixels internally by means of some
sort of special service programming.  I don't know any specifics,
but you might call the manufacturers service department to ask.
Author
11 Aug 2005 3:46 PM
Richard Crowley
"L David Matheny" wrote ...
> I seem to recall reading somewhere that some camcorders have
> the capability to mask dead pixels internally by means of some
> sort of special service programming.  I don't know any specifics,
> but you might call the manufacturers service department to ask.

Higher-end cameras (read: 3-chip) apparently make use of this
method of substituting adjacent pixels for dead ones. Dunno whether
they use this method in 1-chip consumer camcorders, though.  It
requires individual "mapping" of the pickup chips and burning a
custom EEPROM to tell the camera which pixels are dead.