File Exchange

image thumbnail

Texture Synthesis by Non-parametric Sampling

version 1.0.0.1 (556 KB) by Mahmoud Afifi
Implementation of (Texture Synthesis by Non-parametric Sampling)

2 Downloads

Updated 04 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 (2019). Texture Synthesis by Non-parametric Sampling (https://www.mathworks.com/matlabcentral/fileexchange/62624-texture-synthesis-by-non-parametric-sampling), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (3)

Metogriph

working as intended

Duan Le

Updates

1.0.0.1

.

1.0.0.0

reference added

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