Skip to content

Shuqi-67/ColorPipette

Repository files navigation

ColorPipette

This is the interactive tool for the paper Image-Driven Harmonious Color Palette Generation for Diverse Information Visualization (TVCG 2022), by Shuqi Liu, Mingtian Tao, Yifei Huang, Changbo Wang and Chenhui Li*.

Generate color palette from vivid images for your visualization!

Prerequisites

The core code was mainly developed with python 3.6, PyTorch 1.10.0, CUDA 11, and Ubuntu 16.04. The web application was developed with Node 12, Vue 6.14.16.

  1. In the superpixel segmentation module, we make use of component connection method in SSN to enforce the connectivity in superpixels. The code has been included in /src/flask/third_party/cython. To compile it:
cd src/flask/third_party/cython/
python setup.py install --user
cd ../../../..
  1. To start the web server based on flask, run app.py:
cd src/flask/
python app.py
cd ../..
  1. We use quasar framework to design the web application. Please follow quasar-instructor to install it.

  2. Start ColorPipette!

yarn
yarn quasar dev

Reference

Some of the code reference Superpixel segmentation with fully convolutional networks and BASNet: Boundary-Aware Salient Object Detection.

Citation

If this work is helpful for you, please cite

@article{liu2022image,
  title={Image-Driven Harmonious Color Palette Generation for Diverse Information Visualization},
  author={Liu, Shuqi and Tao, Mingtian and Huang, Yifei and Wang, Changbo and Li, Chenhui},
  journal={IEEE Transactions on Visualization \& Computer Graphics},
  number={01},
  pages={1--16},
  year={2022},
  publisher={IEEE Computer Society}
}

image

LFS Bandwidth Limitation

If you encounter issues due to Git LFS bandwidth limits when trying to download the file src/flask/saliency/saved_models/basnet_best_train_gdi.pth, please download it directly from the following link: Download basnet_best_train_gdi.pth

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published