Texture Synthesis by Non-parametric Sampling

Implementation of (Texture Synthesis by Non-parametric Sampling)
355 Downloads
Updated 4 Jan 2019

View License

For each unknown pixel in the synthetic texture, the nearest neighborhoods in the sample texture are found. That is, the neighborhoods in the original image, that are similar to the neighborhood of the current unknown pixel in the synthetic texture, are used to pick the intensity of the current unknown pixel. Refer to the paper for more information. This implementation presents two versions of the synthesis technique. The first one is to grow a larger patch, and the second one is to fill holes in an image.

Ref:
Efros, Alexei A., and Thomas K. Leung. "Texture synthesis by non-parametric sampling." Computer Vision, 1999. The Proceedings of the Seventh IEEE International Conference on. Vol. 2. IEEE, 1999.

Cite As

Mahmoud Afifi (2024). Texture Synthesis by Non-parametric Sampling (https://www.mathworks.com/matlabcentral/fileexchange/62624-texture-synthesis-by-non-parametric-sampling), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.1

.

1.0.0.0

reference added