Content-Aware Scale with Seam Carving
Open a photo, paint protect and remove masks, set the new width and height or an aspect ratio, resize content-aware, remove objects and export.
ブラウザ内で動作します。ファイルは端末の外に出ません。 確認方法を見る
…
使い方
- 1Open a photo
Scaled for speed.
- 2Protect
Green mask.
- 3Set the size
Or aspect ratio.
- 4Resize
Seams removed.
- 5Export
PNG or JPG.
このツールについて
Changing a photo's shape usually means cropping, which cuts things off, or stretching, which squashes everything. Content-aware scaling is a third way. It finds paths of pixels running top to bottom (or side to side) through the least detailed parts of the image, such as sky, sea, walls and grass, and removes them one at a time. The interesting parts stay the same shape while the empty space shrinks. It can also widen an image by duplicating those low-detail paths. This tool adds the controls that make it reliable: paint a green protect mask over people and objects that must not change, paint a red remove mask over something you want gone, preview where the seams ran, and set a target size or common aspect ratio.
Who this is for
Social media managers converting landscape photos to square or portrait formats, web designers fitting images into banners, photographers who need a wider background for text, and anyone removing a small distraction.
How to use it
1. Open a photo; it is scaled to 1,000 pixels for speed. 2. Paint a green Protect mask over people, faces, products and straight structures. 3. Optionally paint a red Remove mask over something you want to delete. 4. Set the target width and height, or press an aspect ratio button such as 1:1 or 4:5. 5. Press Resize content-aware and check the result and seams. 6. To delete an object, paint it red and press Remove red object: the image is carved through it and grown back to the original width. 7. Undo if needed, then download.
When it works best
Seam carving shines on photos with plenty of uniform space: landscapes, beaches, skies, studio backgrounds and interiors with plain walls. It struggles with images packed with detail everywhere, and with straight lines and regular patterns, which can bend or break. Protect them, or combine a small content-aware change with a normal crop.
How much to change
Changes of 10 to 30 percent usually look natural. Beyond that, even the emptiest areas run out and seams start passing through subjects. If you need a very different shape, crop part of the way and carve the rest.
Removing objects
Painting an object red makes its pixels extremely cheap to remove, so the seams go straight through it. Once it is gone, the image is widened again by duplicating low-detail paths. This works well for small objects against a uniform background, such as a person far away on a beach.
Privacy
Processing happens in your browser and photos are never uploaded.
A worked example
A 1,000 by 667 beach photo with two people is converted to 4:5 portrait. The people are protected and 466 seams are removed, mostly from the sea and sand; the people keep their shape, while a plain crop would have cut one of them out.
Limits
Large changes distort straight lines and patterns. The working size is 1,000 pixels. Faces must be protected manually. This is an image editing aid, not professional retouching software.
計算例
A beach photo becomes 4:5 portrait with both people protected and the sea narrowed instead.
ポイント
- カテゴリ: 画像
- ブラウザ内で動作し、登録もアップロードも不要です。
- 入力した情報は端末内にとどまります。
- 英語で利用できます。
- 内容の最終確認日:
- 公式情報源: Seam carving for content-aware image resizing (Avidan and Shamir, 2007)
よくある質問
What is seam carving?
Removing or adding low-detail paths of pixels to change size without squashing subjects.
How do I protect people?
Paint them with the green Protect brush.
Can it remove objects?
Yes, paint them red and press Remove red object.
Can it make images wider?
Yes, by duplicating low-detail seams.
How much can I change?
10 to 30 percent usually looks natural.
Is my photo uploaded?
No.
