Source: https://www.commsp.ee.ic.ac.uk/~tania/teaching/DIP 2014/Image Transforms.pdf