Giter Site home page Giter Site logo

sina1989 / dcor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from omrysendik/dcor

0.0 1.0 0.0 15.63 MB

Deep Correlations for Texture Synthesis

License: BSD 3-Clause "New" or "Revised" License

MATLAB 29.65% Makefile 1.25% C 22.11% C++ 17.80% Cuda 28.22% Shell 0.94% M 0.04%

dcor's Introduction

Deep Correlations for Texture Synthesis


Matlab implementation for Deep Correlations for Texture Synthesis.

This package includes our implementation for Deep Correlations for Texture Synthesis. We did our best to make it a stande-alone package, meaning that we included ALL of the dependencies into this repository. The code was written by Omry Sendik.

Prerequisites

  • Linux (Ubuntu 16.04)
  • Matlab R2015b

Getting Started

Installation

  • Clone this repository
  • Run synth.m while changing the 'First' flag to 1. This will compile everthing required and download the PreTrained CNN for you. After running for the first time successfully, you may change 'First' to 0.

Running

  • Change the filename of the desired input texture in line 20 of Synth.m to reflect your desired input. For example:
origSrcImg = imread(strrep('.\Data\Texture13.png','\',filesep));
  • Note that the choice of Hyper-Parameters as described in the paper can be tweaked through GetSynthParams.m

  • Now, patiently wait for the result to converge. If things are working properly, you should get a plot similar to this:

  • The results will be saved to ./Data/Output/

Dataset

Download our dataset from this repository too [data]

Citation

If you use this code for your research, please cite our paper:

@article{sendik2017deep,
  title={Deep correlations for texture synthesis},
  author={Sendik, Omry and Cohen-Or, Daniel},
  journal={ACM Transactions on Graphics (TOG)},
  volume={36},
  number={5},
  pages={161},
  year={2017},
  publisher={ACM}
}

Acknowledgments

Code relies heavily on:
MatConvNet
L-BFGS-B

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.