cryptosystem.org

With everyone talking about the Colorization Using Optimization technology, I thought people without access to MATLAB might enjoy a usable program that employs it.

The MATLAB MCR (installs the shared libraries you need to run compiled MATLAB programs) for Windows is huge, so I made it into a torrent:

Download torrent [83.26MB]
View torrent stats

Windows build:

Download the compiled build here: colorize-win32.zip [1.55MB]

Then:

  1. Download and run the MATLAB R7SP1 MCR Installer from the torrent.
  2. Open up a command window, navigate to where you've extracted the executable and CTF file, and run "colorize.exe infile.bmp infile_marked.bmp outfile.bmp"
  3. Wait a while, because this build uses the "exact" solver, it's rather slow.

If Windows complains that CTF is not a registered file type and it can't find the proper program, you may need to reboot. You can use the example bitmaps from the source zip linked on the original website if you want to see what input should look like.

Linux build:

Download the compiled build here: colorize-linux.tar.bz2 [3.6MB]

You don't need the MCR for this build, all the required libraries should be included.

  1. Put /path/to/colorize-linux/sharedobj on your LD_LIBRARY_PATH with export or setenv. (example: export LD_LIBRARY_PATH= /home/blah/colorize-linux/sharedobj:$LD_LIBRARY_PATH)
  2. Run "./colorize infile.bmp infile_marked.bmp outfile.bmp"