Quantcast Ghostbuster Filter for Avisynth [Readme] - digitalFAQ.com Forums [Archives]
  #1  
11-25-2012, 09:00 PM
kvcd.net Archives's Avatar
kvcd.net Archives kvcd.net Archives is offline
Free Member
 
Join Date: May 2012
Posts: 84
Thanks: 0
Thanked 1 Time in 1 Post
Ghostbuster - An Avisynth filter for the removal of ghosting

By Ross Thomas <ross@grinfinity.com>

Ghostbuster is an Avisynth filter for removing "ghosts" from a clip. A ghost in this context is a faint copy of the picture offset horizontally. It works by either subtracting or adding the image from itself at the specified offset. With some tweaking the result, while not perfect, can be very pleasing. (That is to say, Ghostbuster is basically a YUY2 Avisynth implementation of the Exorcist VirtualDub filter by Chris Wojdon. It should be parameter-compatible. See his site.)

Usage
Code:
Ghostbuster(clip clip, int offset, int strength)
The defaults are arbitrary. You'll want to change them.

ParameterMeaningDefault
clipSpecifies the clip to affect.last
offsetA positive offset indicates the ghost copy is that many pixels to the right; negative, that many pixels to the left. A zero offset is invalid.3
strengthThe strength (-100 to 100, but not zero) indicates the intensity of the ghost copy. Whether the strength is positive or negative determines whether the image will be added or subtracted, respectively, from itself. This is somewhat hard to explain, but the effect is easy to see. Experiment!10
   

The Exorcist documentation (link above) provides some more information as well as illustrative screenshots. If you're like me you'll fire up Exorcist, use the preview window to find the best values, then use those values as parameters for Ghostbuster. It's much easier that way.

Known Issues
- Processes only the luma component.
- Introduces an overall brightness change as a side-effect.

To-Do:
- MMX/SSE optimizations (I have to learn x86 assembler first...).
- Process chroma.
- Perhaps compensate for brightness change (or eliminate it).

History
- 0.1 - First release. Alpha code. Danger, Will Robinson!

Download here: SansGrip's Avisynth Filters [DOWNLOADS]
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
RangeInfo Filter for Avisynth [Readme] kvcd.net Archives Avisynth Scripting 0 11-25-2012 09:07 PM
Blockbuster Filter for Avisynth [Readme] kvcd.net Archives Avisynth Scripting 0 11-25-2012 07:38 PM
NoMoSmooth Filter for Avisynth [Readme] kvcd.net Archives Avisynth Scripting 0 11-25-2012 07:00 PM
Sampler filter for Avisynth [Readme] kvcd.net Archives Avisynth Scripting 0 11-25-2012 06:24 PM
RemoveBorders filter for Avisynth [Readme] kvcd.net Archives Avisynth Scripting 0 10-28-2012 08:04 AM

Thread Tools



 
All times are GMT -5. The time now is 03:39 PM  —  vBulletin © Jelsoft Enterprises Ltd