GithubHelp home page GithubHelp logo

chu246 / inversehalftonecolorization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ccc870206/inversehalftonecolorization

0.0 0.0 0.0 2.97 MB

Inverse Halftone Colorization: Making Halftone Prints Color Photos, ICIP2021

Python 100.00%

inversehalftonecolorization's Introduction

Inverse Halftone Colorization: Making Halftone Prints Color Photos (ICIP 2021 accepted)

PyTorch implementaton of the following paper. In this paper, we propose a framework to recover colorful images from black and white halftone prints. You can visit our project website here.

img

Paper

Inverse Halftone Colorization: Making Halftone Prints Color Photos
Yu-Ting Yen, Chia-Chi Cheng, Wei-Chen Chiu
IEEE International Conference on Image Processing (ICIP), 2021.

Please cite our paper if you find it useful for your research.

@InProceedings{yen2021inverse,
    title={Inverse Halftone Colorization: Making Halftone Prints Color Photos},
    author={Yen, Yu-Ting and Cheng, Chia-Chi and Chiu, Wei-Chen},
    booktitle={2021 IEEE International Conference on Image Processing (ICIP)},
    pages={1734--1738},
    year={2021},
    organization={IEEE}
    }

Installation

  • This code was developed with Python 3.8.5 & Pytorch 1.4.0 & CUDA 11.3.
  • Other requirements: numpy, Pillow
  • Clone this repo
git clone https://github.com/ccc870206/InverseHalftoneColorization.git
cd InverseHalftoneColorization

Testing

Download our pretrained models from here and put them under weights/.
Run the sample data provided in this repo:

python test.py

Run your own data:

python test.py --input_dir YOUR_INPUT_IMG_PATH
               --ref_dir YOUR_REFERENCE_IMG_PATH
               --target_img_path YOUR_TARGET_IMG_PATH

Training (TODO)

Acknowledgments

Our code is based on BicycleGAN and we re-implement Deep Inverse Halftoning via Progressively Residual Learning in Pytorch for inverse halftone network.

inversehalftonecolorization's People

Contributors

ccc870206 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.