Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Core ML Models
  3. Image Analogy

Image Analogy

MITC++

A deep learning technique for finding semantically-meaningful dense correspondences between images to enable visual attribute transfer.

Visit WebsiteGitHubGitHub
1.4k stars230 forks0 contributors

What is Image Analogy?

Deep Image Analogy is a computer vision research project that finds semantically-meaningful dense correspondences between two images using deep convolutional neural network features. It enables visual attribute transfer applications like style transfer between photos and artworks, color transfer between photos, and converting sketches to photorealistic images. The technique adapts traditional image analogy concepts with deep learning to achieve more coherent and visually pleasing results.

Target Audience

Computer vision researchers, graphics programmers, and developers working on image manipulation, style transfer, or visual correspondence problems. It's particularly relevant for those implementing advanced image editing tools or studying deep learning applications in graphics.

Value Proposition

Unlike simpler style transfer methods, Deep Image Analogy establishes semantic correspondences between images, enabling more controlled and coherent attribute transfers. It combines the efficiency of patch-based methods with the semantic understanding of deep neural networks, offering researchers a powerful tool for visual attribute manipulation.

Overview

The source code of 'Visual Attribute Transfer through Deep Image Analogy'.

Use Cases

Best For

  • Transferring artistic styles from paintings to photographs
  • Swapping visual styles between two artwork images
  • Converting sketches or paintings into photorealistic images
  • Performing color transfer between photographs (e.g., creating time-lapse effects)
  • Researching dense correspondence algorithms in computer vision
  • Implementing semantic-aware image editing tools

Not Ideal For

  • Real-time or interactive image editing applications due to computational intensity and slow processing
  • Developers without access to Nvidia GPUs and CUDA environments, as it requires specific hardware
  • Cross-platform projects needing seamless macOS or modern Linux support, since it's primarily Windows-focused
  • Users seeking a simple, out-of-the-box style transfer tool without complex dependency management and build processes

Pros & Cons

Pros

Semantic Correspondence Accuracy

Uses deep CNN features from VGG-19 to find meaningful dense matches, enabling coherent attribute transfers as validated in the SIGGRAPH 2017 paper.

Multiple Application Modes

Supports photo-to-style, style-to-style, style-to-photo, and photo-to-photo transfers, offering versatility for different image editing tasks as shown in the examples.

Parameterized Fine-Tuning

Provides adjustable parameters like blend weight and ratio to control output appearance, with specific recommendations in the Tips section for different use cases.

Research-Backed Implementation

Official implementation of a peer-reviewed technique, ensuring reliability for academic and research purposes in computer vision and graphics.

Cons

Platform and Hardware Lock-in

Primarily tested on Windows with specific Nvidia GPUs (e.g., Titan X, K40) and CUDA 7.5/8, limiting accessibility and compatibility with modern systems.

Complex Setup and Dependencies

Requires building Caffe first, along with Visual Studio 2013 and specific CUDA versions, making installation non-trivial and error-prone, as detailed in the Build section.

Image Size Limitations

Input images should not be larger than 700x500 for ratio=1.0, restricting high-resolution processing without downscaling and potential quality loss.

Outdated and Unmaintained Stack

Based on Caffe and older CUDA versions, which are largely superseded by newer frameworks, raising concerns about long-term support and integration with modern tools.

Frequently Asked Questions

Quick Stats

Stars1,370
Forks230
Contributors0
Open Issues21
Last commit5 years ago
CreatedSince 2017

Tags

#cuda#deep-learning#neural-networks#caffe#image-processing#computer-vision#style-transfer

Built With

E
Eigen
v
visual-studio
C
CUDA
C
Caffe
C
C++

Links & Resources

Website

Included in

Core ML Models7.0k
Auto-fetched 10 hours ago

Related Projects

TensorFlow Slim ModelsTensorFlow Slim Models

Models and examples built with TensorFlow

Stars77,660
Forks44,848
Last commit3 days ago
TensorFlow ModelsTensorFlow Models

Models and examples built with TensorFlow

Stars77,660
Forks44,848
Last commit3 days ago
Caffe Model ZooCaffe Model Zoo

Caffe: a fast open framework for deep learning.

Stars34,553
Forks18,417
Last commit2 years ago
ColorizationColorization

Automatic colorization using deep neural networks. "Colorful Image Colorization." In ECCV, 2016.

Stars3,463
Forks921
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub