KO
|
EN
gitlite — search
Search
#javascript
#python
#php
#go
#ruby
#java
#xml
#dotfiles
#deprecated
#c
#android
#c-sharp
texture-synthesis
★ 54
Open GitHub ↗
Texture synthesis in Torch
Download README (.md)
Explore Similar Repositories
terraform-aws-asg
:
Terraform AWS Auto Scaling Stack
goaop-symfony-bundle
:
[Outdated!] Integration bridge for Go! AOP framework and Symfony
es6-coding-style
:
ECMAScript 2015 编码规范--广发证券前端团队
react-native-card.io
:
A component for react-native (iOS only) for card.io
sign-language-tutor
:
The fun way to learn sign language
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
texture-synthesis
?
Download (.md)
# texture-synthesis This is a Torch implementation of a texture-synthesis algorithm very similar to [1]. Given an input texture patch, the algorithm generates a larger version of the same texture. Here's an example: ### Input <img src="https://github.com/jcjohnson/texture-synthesis/blob/master/examples/inputs/scales.png?raw=true"> ### Output <img src="https://github.com/jcjohnson/texture-synthesis/blob/master/examples/outputs/scales_512_k13.png?raw=true"> You can see more examples [in the example gallery](examples.md). ## Usage Texture synthesis is implemented in the script `synthesis.lua`. The following command line options are available: * `-source`: Path to the source image. * `-output_file`: Path where the output should be written. * `-height`: Height of the output file, in pixels. * `-width`: Width of the output file, in pixels. * `-k`: Kernel size; must be an odd integer. * `-gpu`: Which GPU to use. Setting `gpu >= 0` will run in GPU mode, and setting `gpu < 0` will run in CPU-only mode. You can see examples using different source images and kernel sizes [in the example gallery](examples.md). ## Works Cited: [1] Efros, Alexei, and Thomas K. Leung. "Texture synthesis by non-parametric sampling." ICCV 1999.