top of page

Our Code

Our Git repository can be viewed and cloned with this link:  ​

https://github.com/deedstho/ImageProcessing.git

content_reconstruction.m

This script performs gradient descent on a white noise image to reproduce and input image.

one_layer_net.m

This function is called in big_test.m. It runs single layer CNN forwards and backwards.

starterCode.m

This code demonstrates 2D convolution performed by a small convolutional neural network.

loss.m

This helper function computes the content loss function described in “A Neural Algorithm of Artistic Style”.

der_loss.m

This helper function computes the gradient of the content loss function described in “A Neural Algorithm of Artistic Style”.

read_and process.m

This helper function pre-processes a JPG as described in “A Neural Algorithm of Artistic Style”.

create_white_noise.m

This helper function produces a white noise image used for gradient descent.

bottom of page