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 29th September 2021, 20:36   #1  |  Link
avinewbie
Registered User
 
Join Date: Dec 2010
Posts: 8
Basic Question:Denoising what is prefilter and reference clip

Hi,
1)

Am trying to understand in denoising, how does prefilter of the video help to additionally denoise?

2)
What is"reference clip"?
How does it help in denoising?

Does it mean the prefiltered video?

I could not find much info about this-
Hope someone can explain?
Thanks
avinewbie is offline   Reply With Quote
Old 29th September 2021, 21:37   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,223
Quote:
how does prefilter of the video help to additionally denoise?
Well if doing some kind of motion compensated denoising,
pre-filtered clip might be source clip with eg UnDot style prefilter applied, so that motion analysis might be done on the prefiltered clip,
but motion compensating done on the source clip by applying prefiltered motions vectors to the source.

I'll pass on the reference clip thingy [also might want to say in what script / script function "reference clip" refers to].
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 30th September 2021, 18:54   #3  |  Link
avinewbie
Registered User
 
Join Date: Dec 2010
Posts: 8
Thanks you StainlessS

So a prefiltered clip is the video that has been denoised that is used by the main denoising Programe ( like SMDegrain) in order to obtain motion vectors.
I presume this is to improve the denoising quality in the original video by using the motion vectors?
If this is correct what type of denoising is good to apply to produce the prefilter clip?--very strong denoising?( which normally would cause detail loss)
avinewbie is offline   Reply With Quote
Old 30th September 2021, 19:55   #4  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,696
It depends on the video, there is no denoiser that fits all types of video. You can even feed smdegrain into smdegrain as a prefilter.
Search for "prefilter" on the wiki page, it has some usefull information about prefilter http://avisynth.nl/index.php/SMDegrain
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository
ChaosKing is offline   Reply With Quote
Old 30th September 2021, 20:22   #5  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,223
Something like UnDot (simple spacial filter) can produce better, more reliable temporal vectors for the actual denoiser. [even spatial blur() can help]

EDIT: dots and stuff, can screw up / make for less relable, vector analysis.
Given that noise is the problem to solve, and noise inhibits good vector analysis,
so gettin' rid of some noise for pre proc and vector creation, is a good thing.
After motion compensation via motion vectors, the denoise actual, can still use the
original noisy dotted motion compensated clip/frames, and denoise that.

EDIT: pre filter should best be spatial.

mobile:
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 30th September 2021 at 20:57.
StainlessS is offline   Reply With Quote
Old 30th September 2021, 22:04   #6  |  Link
avinewbie
Registered User
 
Join Date: Dec 2010
Posts: 8
Thank you for those valuable tips and insights Stainless S.

Thanks Chaosking, I have read the SMdegrain doc but don't fully understand much. It does work well for me by trial and error
avinewbie 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 07:47.


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