Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th March 2014, 12:39   #1  |  Link
glabousky
Registered User
 
Join Date: Mar 2014
Posts: 2
Informations about HorizontalReduceBy2 filter

Hi everybody,

I a mtrying to make a 3D Half Side-by-side video using avisynth.
I have two AVI sources (1080p) and I use the filter "HorizontalReduceBy2" in order to have two 960x1080 videos, and then I will stack them.
I would like to know how this filter works exactly. Does this filter take one filter over two ? The informations I have on the wiki don't help me a lot (I don't understand how the filter kernel (1/4,1/2,1/4) is used).
Moreover, is this filter a good solution for a 3D (anaglyphe) visualisation ?

Thank you for your consideration ^^
glabousky is offline   Reply With Quote
Old 10th March 2014, 17:20   #2  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
Quote:
(I don't understand how the filter kernel (1/4,1/2,1/4) is used).
It means that each pixel is made of a weighted mix of the three pixels above it. For example, if ABCDEF are the original pixels:

Code:
ABCDEFGH
a b c d
Then:

a=1/4A+1/2A+1/4B (as we are at the edge, A gets counted twice)
b=1/4B+1/2C+1/4D
c=1/4D+1/2E+1/4F
d=1/4F+1/2G+1/2H

In this way, all of the original pixels are equally represented (at half weight) in the output - either in a single pixel, or spread across two neighbouring pixels.

David
__________________
My AviSynth filters / I'm the Doctor
wonkey_monkey is offline   Reply With Quote
Old 11th March 2014, 09:58   #3  |  Link
glabousky
Registered User
 
Join Date: Mar 2014
Posts: 2
Thank you David, this is exactly what I needed and really clear.
I hope this filter will give a good 3D result.

You're the doctor (Doctor ? Doctor Who ? ^^)

Anthony
glabousky is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:05.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.