sets pixels to (0, 0, 0) if their first component is lower than a certain threshold. picture in signed YUV format (or whatever else works for you) threshold filtered picture in signed YUV format