AnnaFan777
5th May 2008, 23:21
in the avisynth documentation:
=============================
Subtract (clip1, clip2)
Subtract produces an output clip in which every pixel is set according
to the difference between the corresponding pixels in clip1 and clip2.
More specifically, it sets each pixel to (50% gray) + (clip1 pixel) - (clip2 pixel).
===========================
Shouldn't it be like
(50% gray) + ( (clip1 pixel) - (clip2 pixel) ) / 2
=============================
Subtract (clip1, clip2)
Subtract produces an output clip in which every pixel is set according
to the difference between the corresponding pixels in clip1 and clip2.
More specifically, it sets each pixel to (50% gray) + (clip1 pixel) - (clip2 pixel).
===========================
Shouldn't it be like
(50% gray) + ( (clip1 pixel) - (clip2 pixel) ) / 2