NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Texture Synthesis based on Feature Description

Yan Gui, Mingang Chen, Zhifeng Xie, Lizhuang Ma, Zhihua ChenJournal of Advanced Mechanical Design Systems and Manufacturing 2012

Abstract

Patch-based texture synthesis techniques from a small sample texture generate a new texture image efficiently, but one significant problem is that these existing texture synthesis algorithms suffer from structure mismatching across patch boundaries due to inaccurate similarity measure. In this paper, we propose a desired distance metric to measure structural similarity when especially handling textures with salient features, which has the ability to find best matches during the patch-based sampling. To do this, we introduce the concept of “layers” to describe the correlation of pixels through computing each pixel weight, and construct the orientation fields to capture the inherent direction and variation of texture features through computing the dominant local orientation angle and the degree of anisotropy of each pixel. Our experimental results demonstrate that the proposed method can significantly alleviate structure discontinuities in synthesized textures.

Introduction

Texture synthesis is a fundamental challenge in computer graphics, aimed at creating large, non-repeating images from small source samples. While patch-based methods—which copy and stitch small blocks of the sample—are computationally efficient, they often struggle with "structure mismatching." Standard algorithms typically rely on the Sum of Squared Differences (SSD) of RGB values to find matching patches. However, color similarity does not guarantee structural alignment, often leading to visible seams and broken patterns in the final output.

Methodology

To address the limitations of color-only matching, we propose a hybrid distance metric that incorporates structural intelligence into the patch selection process.

1. Layer-Correlation Weighting

Instead of treating all pixels in an overlap area equally, we divide the boundary region into concentric "layers" based on their distance from the patch center. Pixels closer to the core of a feature are weighted more heavily, recognizing that spatial correlation is strongest near the center. This helps "anchor" the structure during the matching process.

2. Orientation Fields

To capture the underlying "flow" of a texture, we construct an orientation field for every pixel, consisting of:

  • Angle Image: Captures the dominant local direction of texture features.
  • Coherence Image: Measures the "degree of anisotropy," or how strongly the texture points in a specific direction versus being random.

3. Hybrid Distance Metric

The final patch selection is determined by a weighted sum of the color difference and the orientation difference. By tuning this balance (with an optimal weight found at approximately 0.13), the algorithm ensures that the grain and geometry of the texture align seamlessly across boundaries.

Results and Discussion

Our method was evaluated on a variety of textures with salient features, including fabric weaves, natural stone patterns, and geometric tiles.

Comparison of texture synthesis results (b-d) generated from a small sample patch (a). The results demonstrate the algorithm's ability to maintain structural coherence across large areas.

Qualitatively, the proposed method consistently avoids the "broken lines" and random noise (often called "garbage growing") seen in earlier works like Image Quilting. By using Principal Component Analysis (PCA) and a multiresolution scheme, we also maintained computational efficiency, reducing synthesis time for a $300 \times 300$ texture to just 1–2 minutes.

Conclusion

By moving beyond simple RGB matching and incorporating orientation fields and layer-based weighting, our approach significantly improves the visual quality of synthesized textures. While the method can occasionally lead to "verbatim copying" and is sensitive to patch size parameters, it represents a major step forward in preserving the structural integrity of complex, near-regular textures.

Summary updated

BibTeX
@article{gui2012texture,
  author = {Yan Gui and Mingang Chen and Zhifeng Xie and Lizhuang Ma and Zhihua Chen},
  title = {{Texture Synthesis based on Feature Description}},
  journal = {Journal of Advanced Mechanical Design Systems and Manufacturing},
  year = {2012},
  doi = {10.1299/jamdsm.6.376},
}
Figure