Where to put resize and limited sharpen in this scripts.
Does is better to put after noise reduction filter or no?
I always work with DV avi(interlaced) material.
Code:LoadPlugin("DeGrainMedian.dll") avisource("C:\Documents and Settings\My Documents\Video 2.avi") ConvertToYuY2(interlaced=true) degrainmedian() degrainmedian()
Code:LoadPlugin("Convolution3d.dll") avisource("C:\Documents and Setting\My Documents\Video 1.avi") ConvertToYuY2(interlaced=true) SeparateFields() odd=SelectOdd.Convolution3D (1, 32, 128, 8, 32, 10, 0) evn=SelectEven.Convolution3D (1, 32, 128, 8, 32, 10, 0) Interleave(evn,odd) Weave()
thanx
Closed Thread
Results 1 to 11 of 11
-
-
I put it after the noise removal, otherwise it is likely to be lost, however there is a fine line between sharpening the image, and putting the noise back into it.
Read my blog here.
-
You should resize every field separately
odd=SelectOdd.Convolution3D (1, 32, 128, 8, 32, 10, 0).Resize(720,288)
evn=SelectEven.Convolution3D (1, 32, 128, 8, 32, 10, 0).Resize(720,288)
to half vertical resolution. Weave would reconstruct the full resolution.
If your aim is 720x576 you don't need to resize.
For limitedsharpen I don't know if it support interlaced sources, but to be on the save side I would suggest to apply it to every field separately.
-
I would recommend resizing first. Then separate fields. Apply the Convolution3D filter followed by limitedsharpen. Finally, weave the video back together.
All of my scripts typically follow this pattern.
FulciLives has a very good guide on using the Convolution3D filter which is posted on this site. The creater of limitedsharpen recommends applying his filter after the denoiser and prior to weaving. You can review his suggestions on Doom9.
-
From my understanding, Limitedsharpen will not work with interlaced source - that is why there is the need to separate the fields. Once the fields are separated, Limitedsharpen can be applied. Once applied, you weave the fields back together again.
In short, you can use Limitedsharpen with interleaved source, you just have to separate the fields first.
As for applying Limitedsharpen after Convolution3D, just included it in your script like this:
LoadPlugin("Convolution3d.dll")
Import("C:limitedsharpen.avs")
avisource("C:\Documents and Setting\My Documents\Video 1.avi")
ConvertToYuY2(interlaced=true)
SeparateFields()
odd=SelectOdd.Convolution3D (1, 32, 128, 8, 32, 10, 0) evn=SelectEven.Convolution3D (1, 32, 128, 8, 32, 10, 0)
Limitedsharpen()
Interleave(evn,odd) Weave()
-
[quote="SerbianBoss"]ok, but does limited sharpen must be the last line in script?
No.
And one more. Where in this script to add deinterlance and resize filter? Where is best to put that filters?
I would put the resize filter at the beginning, so Convolution3D and Limitedsharpen are applied to the resized video and you get a more accurate end result.
As for deinterlace - I'm not very familiar with this area. I would assume deinterlace is not necessary since you are separating the fields prior to Convolution3D and LimitedSharpen.
I sure wish Fulci or Adam would jump in here. Their knowledge of avisynth is much greater than mine. You might want to PM them for advice on deinterlace - or visit the avisynth website at http://www.avisynth.org/.
-
https://forum.videohelp.com/viewtopic.php?p=1531587#1531587
Please try to have one thread for the same subject.
Similar Threads
-
AVStoDVD Sharpen
By djgazzabhoy in forum Video ConversionReplies: 2Last Post: 29th Nov 2011, 06:34 -
How to use sharpen filters with Avisynth & MeGUI??
By jeticson in forum DVD RippingReplies: 10Last Post: 28th Aug 2011, 08:40 -
AVS scripts for MeGUI - why do they resize the video
By Bully9 in forum Video ConversionReplies: 0Last Post: 17th Mar 2010, 16:16 -
sharpen your video
By sharmine in forum Newbie / General discussionsReplies: 3Last Post: 3rd Feb 2008, 23:57 -
How can I enhance / sharpen this video?
By ferrous in forum RestorationReplies: 2Last Post: 22nd May 2007, 16:10