使用-distort进行图像扭曲变换
广告
{{v.name}}
使用-distort进行图像扭曲变换

-distort 选项对图像应用几何扭曲变换。Barrel 模拟镜头桶形畸变,AffineProjection 应用仿射变换矩阵,Arc 将图像沿弧形弯曲。这些变换可用于校正镜头畸变或创造艺术效果。

选择扭曲类型,查看生成的图像的效果:
命令:
magick convert ./pic/pic1.jpeg -distort {{model}} ./pic/result.jpeg
原图
生成的图像
友链