Source: https://visionlab.harvard.edu/members/patrick/PDF.files/2007 pdf's/LaREĢSOLUTION.pdf