Welcome to MorphoLayers

This is an interactive book on interaction between mathematical morphology and deep learning. The code uses Keras/Tensorflow based on the library morpholayers.

You requiere to install Tensorflow2 How to install

  1. Download morpholayers in here

  2. Download images examples in here

The main objetive is to demystify the use of mathematical morphological operators on deep neural networks.

FAQ

How can do backpropagation on a morphological layer as dilation or erosion?

This is performed in the same way that it is done for a maxpooling layer. Recommended link: backprop-through-max-pooling-layers