You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto Colourization of Grayscale Images using Deep Convolutional Neural Networks
People colour old black and white photographs using Photoshop. This model automates the colourization process without human intervention or work.
Dataset
LabelMe Dataset - Coast & Beach, Open Country, Forest, Street images; 256x256 ~1k images
Input-Output
RGB images converted to YUV format because the channels can be separated into intensity and chrominance
Y channel - Intensity - Input
UV channels - Chrominance - Output
In case of test image:
Input channel Y is concatenated with predicted output UV channels
YUV image -> RGB format - final output coloured image
Model
The breakdown of the model
A chopped VGG-16 Net for extracting feature layers
Parallel inverse convolution layers to bring those extracted layers in the same ht-wid dimension
Concatenating the layers to form a hypercolumn. It contains a lot of information about the input image.
A convolutional network taking in the hypercolumn and producing the output channels.
Used Batch Normalisation and ReLu in between layers
Error & Optimization
Euclidean distance between each pixel value in:
Predicted UV channels and Real Output UV channels
Guassian Blur of Predicted UV channels and Guassian Blur of Real Output UV channels (Kernel size 3)
Guassian Blur of Predicted UV channels and Guassian Blur of Real Output UV channels (Kernel size 5)
Error = Average of 1,2,3