All Projects → junyanz → Realismcnn

junyanz / Realismcnn

Licence: mit
code for predicting and improving visual realism in composite images

Programming Languages

matlab
3953 projects

Projects that are alternatives of or similar to Realismcnn

Oblique
With Oblique explore new styles of displaying images
Stars: ✭ 633 (+1094.34%)
Mutual labels:  image-manipulation
Cometa
Super fast, on-demand and on-the-fly, image processing.
Stars: ✭ 8 (-84.91%)
Mutual labels:  image-manipulation
Imagene
A General Purpose Image Manipulation Tool
Stars: ✭ 36 (-32.08%)
Mutual labels:  image-manipulation
Mixnmatch
Pytorch implementation of MixNMatch
Stars: ✭ 694 (+1209.43%)
Mutual labels:  image-manipulation
Contrastive Unpaired Translation
Contrastive unpaired image-to-image translation, faster and lighter training than cyclegan (ECCV 2020, in PyTorch)
Stars: ✭ 822 (+1450.94%)
Mutual labels:  image-manipulation
Cherish
🏰 Sketch- and image-based system for 3D representation and documentation of cultural heritage sites
Stars: ✭ 27 (-49.06%)
Mutual labels:  image-manipulation
Gimp Plugin Bimp
BIMP. Batch Image Manipulation Plugin for GIMP.
Stars: ✭ 500 (+843.4%)
Mutual labels:  image-manipulation
Nimp
Nimp - Node-based image manipulation program.
Stars: ✭ 45 (-15.09%)
Mutual labels:  image-manipulation
Watimage
🖼 PHP image manipulation class
Stars: ✭ 25 (-52.83%)
Mutual labels:  image-manipulation
Photon
⚡ Rust/WebAssembly image processing library
Stars: ✭ 963 (+1716.98%)
Mutual labels:  image-manipulation
Imgp
📸 High-performance cli batch image resizer and rotator
Stars: ✭ 744 (+1303.77%)
Mutual labels:  image-manipulation
Images
Source code of images.weserv.nl, to be used on your own server(s).
Stars: ✭ 798 (+1405.66%)
Mutual labels:  image-manipulation
Max Image Segmenter Web App
Deploy a Deep Learning Powered "Magic Cropping Tool" using Pre-Trained Open Source Models
Stars: ✭ 29 (-45.28%)
Mutual labels:  image-manipulation
Jspaint
🎨 Classic MS Paint, REVIVED + ✨Extras
Stars: ✭ 5,972 (+11167.92%)
Mutual labels:  image-manipulation
Bringing Old Photos Back To Life
Bringing Old Photo Back to Life (CVPR 2020 oral)
Stars: ✭ 9,525 (+17871.7%)
Mutual labels:  image-manipulation
Srflow
Official SRFlow training code: Super-Resolution using Normalizing Flow in PyTorch
Stars: ✭ 537 (+913.21%)
Mutual labels:  image-manipulation
Mindseye
Neural Networks in Java 8 with CuDNN and Aparapi
Stars: ✭ 8 (-84.91%)
Mutual labels:  image-manipulation
Mopaint
🎨💪 Modern, modular paint and more! (pre-alpha, not much done yet)
Stars: ✭ 50 (-5.66%)
Mutual labels:  image-manipulation
Dali
Dali is an image blur library for Android. It contains several modules for static blurring, live blurring and animations.
Stars: ✭ 1,021 (+1826.42%)
Mutual labels:  image-manipulation
Image To Image Papers
🦓<->🦒 🌃<->🌆 A collection of image to image papers with code (constantly updating)
Stars: ✭ 949 (+1690.57%)
Mutual labels:  image-manipulation

RealismCNN

Project | Paper

Contact: Jun-Yan Zhu (junyanz at cs dot cmu dot edu)

Paper

Learning a Discriminative Model for the Perception of Realism in Composite Images
Jun-Yan Zhu, Philipp Krähenbühl, Eli Shechtman and Alexei A. Efros
IEEE International Conference on Computer Vision (ICCV). 2015.

Overview

This is the authors' implementation of (1) visual realism prediction and (2) color adjustment methods, described in the above paper. Please cite our paper if you use our code and data for your research.

Installation

  • Download and unzip the code.

  • Install caffe from https://github.com/BVLC/caffe

    • Compile both caffe and matcaffe.
    • Set MATCAFFE_DIR in our code "SetPaths.m".
  • Install libsvm (included): run "make.m" if you cannot use precompiled mex files.

  • Download realismCNN models and test dataset:

  • To run our method on your data, please set the EXPR_NAME, MODEL_DIR, DATA_DIR, WEB_DIR. See each script for further details.

MATLAB functions

  • Realism Prediction:

    • EvaluateRealismCNN.m: apply RealismCNN model directly on human evaluation dataset. This script can reproduce RealismCNN results in Table 1.
    • EvaluateRealismCNN_SVM.m: train an SVM model on top of fc6/fc7 layer's features extracted by our RealismCNN model. This script can reproduce RealismCNN+SVM results in Table 1.
    • PredictRealism.m: Given a collection of composite images, we use this script to compute the visual realism scores for all the images, and display the top/bottom-ranked images by their realism scores.
  • Color Adjustment:

    • ColorAdjustmentScript.m: reproduce color adjustment results reported in the paper.
    • OptimizeColorAdjustment.m: recolor a single image given a source image (i.e., object), a target image (i.e., background), and an object mask. We assume that the image sizes of source, target, and mask are the same.
    • ColorAdjustmetnBatch.m: recolor multiple images by calling "OptimizeColorAdjustment.m" in batch mode.

Citation

If you use this code for your research, please cite our papers.

@inproceedings{zhu2015learning,
  title={Learning a Discriminative Model for the Perception of Realism in Composite Images},
  author={Zhu, Jun-Yan and Kr{\"a}henb{\"u}hl, Philipp and Shechtman, Eli and Efros, Alexei A.},
  booktitle={IEEE International Conference on Computer Vision (ICCV)},
  year={2015}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].