Matlab code to do Image Quilting as presented in the SIGGRAPH 2002 paper by Efros & Freeman.
Note: this isn't Efros & Freeman's code, just an implementation of it.
Texture Synthesize
IMOUT = SYNTHESIZE(IMGIN , SIZEOUT, TILESIZE, OVERLAP [, ISDEBUG])
returns an image that is Texture Synthesized
IMGIN
the code both works on grascale images or color images
SIZEOUT
An 1*2 array , the size of output image
e.g. size(texture)*3
TILESIZE
TILESIZE of each block
OVERLAP
size of overlap bar between blocks
ISDEBUG
equals 0 (default) if no debug function
the algorithm will shows progress of each step, a little more
time will be cost in plotting.
引用格式
Li Cheng (2024). [SigGraph2002] Image Quilting/Texture Synthesize (https://www.mathworks.com/matlabcentral/fileexchange/35828-siggraph2002-image-quilting-texture-synthesize), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |