Remove keypoints from some image by mask for pixels of this image.
keypoints = cv.KeyPointsFilter.runByPixelsMask(keypoints, mask)