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 |