digitalFAQ.com Forum

digitalFAQ.com Forum (https://www.digitalfaq.com/forum/)
-   Restore, Filter, Improve Quality (https://www.digitalfaq.com/forum/video-restore/)
-   -   Removing dot crawl with Avisynth? (1st attempt) (https://www.digitalfaq.com/forum/video-restore/7409-removing-dot-crawl.html)

TheCatacomb 06-13-2016 01:47 AM

Removing dot crawl with Avisynth? (1st attempt)
 
Hello, I would appreciate if I could get help removing dot crawl. I had a faulty TBC-1000 that was causing dot crawl in my recordings and I didn't find out until I no longer had the tapes.

I read the checkmate documentation and this is my novice try:

Quote:

MPEG2Source("D:\Stone Age\VTS_02_1.d2v", cpu=0)
Checkmate(thr=10, max=20, tthr2=00) # dotcrawl filter
Deen() # edge noise removal
What do you all think? How can I improve this? Thanks in advance.

Original
After

lordsmurf 06-13-2016 02:39 AM

Honestly, it looks fine to me. :)

I'd note that my preferred use of Avisynth is to first extract MPEG to Huffyuv in VirtualDub. Then let Avisynth only process AVI. MPEG can muck up the process and make it take longer.

themaster1 06-13-2016 02:34 PM

try this (for an ntsc source:)
Code:

main=last
main
spline36resize(480,320) # NTSC
spline64resize(720,480) # NTSC
lsfmod
filtered=last
main
mt_edge(mode="min/max",chroma="copy").mt_expand
mymask=last
mt_merge(main, filtered, mymask)


themaster1 06-13-2016 02:34 PM

try this (for an ntsc source:)
Code:

main=last
main
spline36resize(480,320) # NTSC
spline64resize(720,480) # NTSC
lsfmod
filtered=last
main
mt_edge(mode="min/max",chroma="copy").mt_expand
mymask=last
mt_merge(main, filtered, mymask)


TheCatacomb 06-13-2016 04:58 PM

Quote:

Originally Posted by themaster1 (Post 44606)
try this (for an ntsc source:)
Code:

main=last
main
spline36resize(480,320) # NTSC
spline64resize(720,480) # NTSC
lsfmod
filtered=last
main
mt_edge(mode="min/max",chroma="copy").mt_expand
mymask=last
mt_merge(main, filtered, mymask)


Never thought about applying a mask. Cool.

This script removes less dot crawl but preserves more detail. I guess that's a compromise that must be made.

Here's an example of this masking method applied to another scene:

Original2
After2

themaster1 06-13-2016 07:04 PM

if you want to remove more dot crawl you can use "prewitt" instead:
mt_edge(mode="prewitt",chroma="copy").mt_expand

otherwise simply:
mergeluma(DeStripe(2,3,16),1)
(but it blurs a lot imo)

for herringbones patterns (which are some kind of dot crawl):
F1Quiver(last, "gn", 336, 10, test=false)# pour enlever les herring bones / dot crawl (traits obliques sur edges), résultat excellent pour ski_sample2.avi !!

themaster1 06-13-2016 07:05 PM

if you want to remove more dot crawl you can use "prewitt" instead:
mt_edge(mode="prewitt",chroma="copy").mt_expand

otherwise simply:
mergeluma(DeStripe(2,3,16),1)
(but it blurs a lot imo)

for herringbones patterns (which are some kind of dot crawl):
F1Quiver(last, "gn", 336, 10, test=false)

TheCatacomb 06-13-2016 10:35 PM

Quote:

Originally Posted by themaster1 (Post 44609)
if you want to remove more dot crawl you can use "prewitt" instead:
mt_edge(mode="prewitt",chroma="copy").mt_expand

I tried this but I was getting pixelation blocks in certain scenes.

mergeluma(DeStripe(2,3,16),1) did help remove more dot crawl, but as you said, it blurred the image like my first checkmate script.


All times are GMT -5. The time now is 05:18 PM

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.