This package contains release version of an implementation of the paper:

Shuaicheng Liu, Michael S. Brown, Seon Joo Kim, Yu-Wing Tai
Colorization for Single Image Super Resolution.  
European Conference on Computer Vision (ECCV) 2010.

Usage is free for research purpose only.
Please references the above publication if you use the program.

Copyrights: National University of Singapore, 2010.
All rights reserved.

Written by Shuaicheng Liu.
Please address comments/suggestions/bugs to liuyangmao@gmail.com
------------------------------------------------------------------------------

Example usage:
ColorizationSR.exe input1 input2 [optionalFlag]

input1=low resolution color image
  - this is your low resolution input
input2=high resolution gray image
  - this image is obtained using any SuperResolution technique 
optionalFlag
  - if "1" then apply backprojection to the result
  - if not used, then don't apply backprojection to the result

output: Result.bmp (colorized high_res image)
        Mask.bmp   (the color assignments from the LR color image)

Example Usage:
Without back projection:
ColorizationSR.exe balloon/colorLR.bmp balloon/grayHR.bmp 

With back projection:
ColorizationSR.exe balloon/colorLR.bmp balloon/grayHR.bmp 1

Data:
Three datasets are included (balloon, pepper, and flower).
Original images are also included.  


NOTE: 
For the colorization procedure, we use the TAUC sparse matrix solver.
The max image size it can handle is 512x512.  
Running time is roughly 2 minutes.

Our program can handle larger images, but we simply break the image
into pieces and apply the 512x512 solver and then recombine the results,
so the speed is much slower.
