Computer Vision: Algorithms and Applications. Chapters 4.2 and 4.3

Szeliski's book