Source: https://f.hypotheses.org/wp-content/blogs.dir/904/files/2014/03/TPimageMatricielleImageVectorielle.pdf