如何删除在ImageMagick中经常发生在图像中的黑色带
我已经捕获了图像,并且图像捕获扩展留下了定期出现的黑色条带(请参见下面的示例)
是否有 imagemagick 命令可以一次删除所有条带?我尝试使用下面的伪代码递归运行它,但没有成功:
for i=1 to height of image/1000
split image at 1000 pixels * i
crop 10 pixels, top
stitch image with cropped image
编辑:将示例图像更改为全分辨率
I've captured an image, and the image capture extension have left regular black bands that occur at regular intervals (see example below)
Is there an imagemagick command to remove all bands at once? I've tried to run it recursively, using the below pseudo-code, without success:
for i=1 to height of image/1000
split image at 1000 pixels * i
crop 10 pixels, top
stitch image with cropped image
EDIT: changed example image to a full resolution one
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下是如何在 Unix 中的 ImageMagick 6 中裁剪幻灯片的每个白色部分。
对于 Imagemagick 7,将“convert”更改为“magick”
Here is how to crop each white section of your slides in ImageMagick 6 in Unix.
For Imagemagick 7, change "convert" to "magick"