Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有更好的方法来做到这一点,而无需遍历每个像素(行、列)并计算图像中每个像素的中值?
您可以使用 N=3 来做到这一点
min(max(a, b), max(b, c), max(a,c))