Git Product home page Git Product logo

wu_collage_advanced's Introduction

Short Description

collage ##Overview The files in this folder simply allows you to create an image collage with a set of input images. The collage algorithm features in the following points:

  1. Fast: Given a set of input images, we can generate photo collage on-the-fly, which is particular suitable for real-time applications such as image retrieval service, online games, and human-computer interaction. According to experimental results, it costs less than 0.5ms for a 100-input-photo collage generation (excluding the time for image reading), and less than 0.1ms for 20-input-photo collage.

  2. Compact: We allow the user to personalize the size of collage by setting canvas height and width.

  3. Content-reserved: we assure to fully reserve the visual content of input images. Although these photos can be stretched, their aspect ratios are strictly kept, and there is no cropping as well as changing of orientations.

##Build To build the binary, you need to pre-install OpenCV on your machine.

gcc -o collage_main main.cpp wu_collage_advanced.cpp -I path/to/your/opencv/include -L path/to/your/opencv/lib -lopencv_highgui -lopencv_core -lopencv_imgproc

##Build by CMake Git Clone the files on your local disk. Under folder 'wu_collage_advanced':

mkdir build
cd build
cmake ..
make

Then, the binary is built at ./build/bin/collage. You can test the collage:

cd ..
sh run_test.sh

##Test

The binary requires a list which contains a set of images. A typical example for the input images and lists can be found in the โ€˜testโ€™ folder. To run the binary:

./collage_main the/path/to/your/image/list

Then, you are required to enter the expected width and aspect ratio for the collage canvas.

##Contact

wu_collage_advanced's People

Contributors

zippon avatar

Stargazers

Akmal avatar GP Wang avatar Wenxuan Liu avatar

Watchers

GP Wang avatar

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.