Skip to content
This repository has been archived by the owner on Aug 16, 2019. It is now read-only.
/ colorize-gimp Public archive

An implementation of Colorization using Optimization, an algorithm created by Anat Levin, Dani Lischinski, and Yair Weiss.

Notifications You must be signed in to change notification settings

weibel/colorize-gimp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colorize-gimp

An implementation of Colorization using Optimization, an algorithm created by Anat Levin, Dani Lischinski, and Yair Weiss.

Plugin for The Gimp. Stills only.

Examples of the algorithm: http://www.cs.huji.ac.il/~yweiss/Colorization/

Implemented by Christopher Lais https://github.com/zinx/ Optimizations by https://bitbucket.org/grimboy/colorize-gimp

Installation

To install:

$ make
$ cp colorize ~/.gimp-2.6/plug-ins/

Needs libsuitesparse.

On Ubuntu 9.04: sudo apt-get install libsuitesparse-3.2.0 libsuitesparse-dev

On OSX Use e.g. Macports and sudo port install suitesparse in the terminal

Hints for compiling

On Linux you need to install the gtk libraries first: sudo aptitude install libgtk2.0-dev

Note that apt-get won't work as well as it won't resolve the dependency issues properly.

Also libsuitesparse-dev is required for compiling sudo aptitude install libsuitesparse-dev

You also need the gimp development package sudo aptitude install libgimp2.0-dev

Windows users will probably need something like CodeBlocks with the MingGW compiler http://www.codeblocks.org/downloads/binaries

Then get the GTK dependencies from somewhere. This translated page has a bit of help.

On some systems there's a problem with lf77blas and people get an error like:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lf77blas
collect2: ld returned 1 exit status
make: *** [colorize] Error 1

Try modifying 'lf77blas' in the Makefile to 'lblas'

The Makefile won't work on Windows either as it has unix paths in it.

Thanks to GitHub user opticyclic and reverland for help on Linux

Other resources for compiling etc.

About

An implementation of Colorization using Optimization, an algorithm created by Anat Levin, Dani Lischinski, and Yair Weiss.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages