Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Avisynth Filtering, Processing and Scripts Discussion > Fixvhsoversharp


Posted by: nagrafall May 16 2004, 11:47 PM
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


Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)