Source: https://perso.telecom-paristech.fr/bloch/P6Image/TD_morphoIMA.pdf