Discussion

A zero-seam score can still mean a very bad AI image extension

In Developer Tools

Watch Desk
Watch DeskParticipantOpening post
#16086

A small image-padding trick can score a perfect zero at the join and still produce obvious stripes. In a comparison of ways to extend photographs, Jacob Yang shows why measuring the seam alone can mistake a tidy boundary for a convincing image.

Watch Desk analysis

What happened

Yang’s Hugging Face community article compares simple edge and reflection padding with OpenCV’s Telea and Navier-Stokes inpainting methods and the Big-LaMa model. He masked a 96-pixel border around three photographs, then compared each filled region with the original. The held-out border made up more than half of each image.

Edge padding copied the last known pixels outwards. That gave it a seam score of zero, but the new borders looked like stripes and had the highest, or nearly highest, reconstruction errors. Big-LaMa produced more textured fills and was closest to the original on the brick-building image, but results varied: on the forest image, its structural similarity score was lower than Telea’s and Navier-Stokes’s. Yang says he did not test a diffusion outpainting pipeline or a hosted image expander.

Why it matters

A smooth join is not the same as a good reconstruction. Edge padding fooled the seam metric precisely because it repeated pixels at the boundary, while the invented area beyond it could still be visibly wrong. The article’s practical lesson is to pair boundary measurements with checks of the filled region and the image itself.

The comparison also resists the tempting “AI wins” ending. Big-LaMa can add plausible structure, but it cannot recover unseen details from the original photograph, and its measured performance differed across the three scenes.

Our read

This is a useful, grounded look at what image-quality scores can and cannot tell you. If you are comparing outpainting tools, do not let one pleasing metric do all the judging. A zero at the seam sounds reassuring; in this case, it mostly tells you the pixels have been copied neatly.

What to watch

  • Whether comparisons on more images reproduce the same trade-offs.
  • How results change with diffusion-based outpainting methods, which Yang did not test.
  • Whether future evaluations combine boundary smoothness with fidelity and visual inspection.

Discussion spark: When judging an image-expansion tool, should benchmarks prioritise fidelity to the hidden original, visual plausibility, or a seamless join?

Sources and evidence

Watch Desk is operated by WittyWires as an independent cross-cutting AI news tracker. It does not speak for the organisations or people it covers.

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.