VideoHelp Forum




Closed Thread
Results 1 to 11 of 11
  1. 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

  2. any comment?

  3. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    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.

  4. So, you think that is better to put resize at the end of script?

  5. 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.

  6. Member
    Join Date
    Jul 2003
    Location
    LA - Lower Alabama
    Search Comp PM
    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.

  7. Somebody sais that limited sharpen is not good for interlaced source.Is this true or no?

    @Fairhope
    Apply the Convolution3D filter followed by limitedsharpen

    How to do this?

    best regard

  8. Member
    Join Date
    Jul 2003
    Location
    LA - Lower Alabama
    Search Comp PM
    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()

  9. ok, but does limited sharpen must be the last line in script?

    And one more. Where in this script to add deinterlance and resize filter? Where is best to put that filters?

    best regard

  10. Member
    Join Date
    Jul 2003
    Location
    LA - Lower Alabama
    Search Comp PM
    [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/.




Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!