Source: https://www.creatis.insa-lyon.fr/~vray/doc_cours/Cours_Filtrage.pdf