HomeOfVapourSynthEvolution / VapourSynth-TCanny

TCanny filter for VapourSynth
GNU General Public License v3.0
27 stars 4 forks source link

Mask conventions #9

Closed myrsloik closed 3 years ago

myrsloik commented 3 years ago

After a long discussion we've decided how to consistently handle float masks. All planes of "mask clips" are always in the 0-1 range (Handled like Y plane). This means that you should remove the special casing for UV planes in your code here to make things consistent with everything else: https://github.com/HomeOfVapourSynthEvolution/VapourSynth-TCanny/blob/master/TCanny/TCanny.cpp#L605