Skip to content

Supporting code to the paper "Artificial Color Constancy via GoogLeNet with Angular Loss Function"

License

Notifications You must be signed in to change notification settings

acecreamu/Color-Constancy-GoogLeNet

Repository files navigation

Artificial Color Constancy via GoogLeNet with Angular Loss Function

Supporting code to the paper
O Sidorov. Artificial Color Constancy via GoogLeNet with Angular Loss Function

image preview

Requirements

The code is designed for MATLAB R2017b with Neural Networks Toolbox. It should also work with other recent versions.

Running the code requires having installed pre-trained GoogLeNet model. (Can be installed within MatLab using Add-On explorer, or externally from File Exchange)

Structure

Most of the operations required for modification the network, loading the data, and performing a training, is contained in main.m.

angularRegressionLayerL#.m contains description of regression layers with custom loss function. Which one to use can be specified in main.m, line 7 (L2 by default).

real_illum_11346_Normalized.mat

This file contains original illumination vectors real_illum_11346.mat normalized by their length (so the new length is unit).

About

Supporting code to the paper "Artificial Color Constancy via GoogLeNet with Angular Loss Function"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages