In this section, we are going to learn what neural style transfer is, the cost function, and what we are trying to minimize in the case of neural style transfer. When we are referring to style transfer, we will always have a content image followed by a style image, or the artwork, and what we want to do is to have a final image that looks such as the content image, but painted with a style from the styled image. Basically it's like the style is being transferred from the Van Gogh picture (as shown in the following diagram) to the content image:
Let's consider another example which is shown as follows. We have the content image once again, then we have the style image or the artwork, and we have a final, or the third image that looks like similar to both of those previous images, but in the same way they also look somewhat different:
In a few words...