Code Monkey home page Code Monkey logo

flow-based-image-abstraction's Introduction

flow-based-image-abstraction

This repository is the implementation of the paper Flow-Based Image Abstraction by Henry Kang, Seungyong Lee and Charles K. Chui.

Running

python3 run.py --file FILE_PATH

By default the program will generate 5 images with different amount of edges. The following flags can be used.

--threading to enable threading. This will create separate threads for FBL and FDoG. Also FDoG for different values of r will also be calculated in separate threads. Though we didn't see much speedup by enabling threading.

--greyscale flag will remove chrominance from the image resulting in greyscale image.

The program takes around 5 min for 600*800 images. If you have a very large image, please reduce the size.

Other flags will be added later

Outputs

Here are few of the samples generated so far. The leftmost is the original image, the middle one and the right figures are generated using r = 0.5 and 0.8 for FDoG.

More outputs

The left image is the original whereas the right image is the best looking among r = 0.5,0.6,0.7,0.8

Still more outputs

The following were created by running the above program on each frame of video and then merging them.

flow-based-image-abstraction's People

Contributors

ishan00 avatar priyanshumeel avatar shivampatel712 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flow-based-image-abstraction's Issues

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.