Source: https://www.creatis.insa-lyon.fr/~grenier/wp-content/uploads/teaching/TheoInfo/TheorieInformation_FULL.pdf