View Full Version : remove scratches & big spots


Ryo94
17th April 2007, 22:29
hi,

I have been trying descratch and despot with default settings and also changing some parameters to remove this kind of noise in the following video but got no luck.
Image sample 1
http://img441.imageshack.us/img441/7855/pic1pe2.jpg (http://imageshack.us)

Image sample 2
http://img441.imageshack.us/img441/6032/pic2tg1.jpg (http://imageshack.us)

I'm wondering if there is any filter out there that can remove this noise?

Video sample (23554 KB):
http://rapidshare.com/files/26542301/video.zip

Thanks in advance for any help.

Mug Funky
18th April 2007, 01:44
you could give Fizick's despot a try. that stuff's pretty hardcore though - you'd have to turn the filter up so high it'll start removing objects as well. in this case you may have to use applyrange or a lot of trim(in,out).filter()++trim(out+1,out2)++trim(out2+1,etc)... statements. that way you can go scene by scene and prevent other artefacts.

[edit]

you may also want to run dedot/tcomb on that to get rid of the crawling dots on the supers there.

Ryo94
18th April 2007, 17:53
Well, I tried raising almost all switches in despot but I get only a blurest picture, not object or big white spot removal. Thanks anyway.

Fizick
18th April 2007, 18:54
probably your video has frame (field) duplicates.
(But I did not look to it.)

~bT~
20th April 2007, 14:21
just tried despot on your sample with:

DeSpot(median=true, p1=6, p2=3, mthres=100)

not great but it looked better

http://maxupload.com/img/0DBBB0B4.jpg
http://maxupload.com/img/F7B39E0F.jpg
http://maxupload.com/img/07C32C29.jpg
http://maxupload.com/img/D29C682D.jpg

Ryo94
20th April 2007, 20:35
:eek: Wow, that's was very effective, the only con that I found that although it removes the gross dirt it add some other in other frames, see:

http://img258.imageshack.us/img258/8210/pic1ni6.jpg (http://imageshack.us)
http://img131.imageshack.us/img131/8439/pic3on4.jpg (http://imageshack.us)
http://img258.imageshack.us/img258/3949/pic4dl9.jpg (http://imageshack.us)

And that just in that short sample, you realize that I can't apply that script to the whole movie. There is any way to apply that filter just in a range of frames?

Ryo94
20th April 2007, 21:33
I think here is my answer, http://forum.doom9.org/showthread.php?t=24552&highlight=Specifying+frame+ranges :rolleyes:

foxyshadis
20th April 2007, 21:36
That's what'll happen. ;_;

Look at stickboy's applyrange plugin/functions. If it's fairly localized, largely in a few scenes, it's much easier to manually fix the problems that way. (If it's just a handful of really bad frames, exporting and fixing in a photo editor might be the best choice.)

Ryo94
20th April 2007, 23:25
Looking at the whole movie carefully trying to set on what range apply despot I found that almost 80% of the video is full of dirt so apply that filter by range doesn't look the best idea :(. I loved how despot works on those frames above, pity that cause that other noise, I'll have to look for some other filter.