Skip to content

Using a pretrained convolutional network to get texture

Notifications You must be signed in to change notification settings

oleks-tr/textures

Repository files navigation

Textures


The pretrained convolutional network (VGG 19) is used to get texture.

For getting the Style Features are used layers from the list (conv1_1, conv2_1, conv3_1, conv4_1, conv5_1) based on original paper.


Below is an example of the results for full images and patches

Origin patches:

Alt text


Using two first layers for patches

Alt text


Origin images:

Alt text


Using all layers

Merger tensor by maximum values Alt text Merger tensor by mean Alt text


Using first layer

Merger tensor by maximum values Alt text Merger tensor by mean Alt text


Using two first layers

Merger tensor by maximum values Alt text Merger tensor by mean Alt text


TODO:

  • add padding to rectangular images
  • etс

About

Using a pretrained convolutional network to get texture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published