Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Fixvhsoversharp, syntax has me confused
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
nagrafall
Posted: May 16 2004, 11:47 PM


Unregistered









I'm back for more. Pardon the ignorance, I'm somewhat new to scripting and I'm having difficulty figuring out what is being asked for in an example like this:

Usage

FixVHSOversharp(clip clip, int brightness_change, int detection_width, int offset)

FixVHSOversharpL(clip clip, int brightness_change, int detection_width, int offset)


brightness_change: The minimum brightness change to examine for the oversharp problem. (If there isn't an oversharp problem it won't try to fix anything.) I usually set this to 40.

detection_width: The width in pixels of the oversharp scanning window. I usually set this value to 12 or 14.
Offset: The position in pixels of the working pixel. I usually set this to 8 (or detection_width-4).


What is being asked for, specifically in the expression " clip clip," and why is "clip" repeated? And is the comma then integral to the script ?


Those of you familiar with this filter, what is the author referring to when referencing the "working pixel"?

Any and all comments are welcomed. Thanks much,

Matthew

 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
0 replies since May 16 2004, 11:47 PM Track this topic | Email this topic | Print this topic

<< Back to Avisynth Filtering, Processing and Scripts Discussion