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.
我有被黑线分割的图像。是否可以使用 Imagemagick(Python 或任何其他解决方案)将图像分成由黑线划分的多个部分,但无法解决任何问题。
计算sum每一行的。如果行全黑(总和 = 0)将此部分提取到新图像中,您就完成了。
sum