Seam Carving
https://github.com/li-plus/seam-carvingli-plus/seam-carving
重要度の高い部分は形状を保持しつつ、関係ない部分を削除していい感じにリサイズする
https://en.wikipedia.org/wiki/Seam_carvingSeam carving
,https://gyazo.com/39e97dfa49d37963ef777241ce98973f
Base
https://gyazo.com/1c483f429c5f75ac5c698dd34c0668bchttps://gyazo.com/cbaf84d96923efd5176514615cc2a4d6https://gyazo.com/4cccf3e78ff30f393d4f3eee843d7193
横方向のみの単純なリサイズ / クロップ / Seam Carving
ComfyUI実装
https://github.com/spinagon/ComfyUI-seam-carvingComfyUI-seam-carving
IP-AdapterみたいなCLIPを使うものは正方形で画像を入力しないといけないので、クロップとかpaddingで処理をするよりいいかもしれないnomadoor.icon