Coder Social home page Coder Social logo

ml-lab / realismcnn Goto Github PK

View Code? Open in Web Editor NEW

This project forked from junyanz/realismcnn

0.0 2.0 0.0 976 KB

code for predicting and improving visual realism in composite images

License: MIT License

MATLAB 63.40% Makefile 1.19% C 34.93% M 0.10% Objective-C 0.37%

realismcnn's Introduction

RealismCNN

Project webpage: http://www.eecs.berkeley.edu/~junyanz/projects/realism/
Contact: Jun-Yan Zhu (junyanz at eecs dot berkeley 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

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 a 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 as input, this script will 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.

realismcnn's People

Contributors

junyanz avatar

Watchers

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