Closed myrsloik closed 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
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