Computer Vision: Algorithms and Applications. Chapters 12.1 and 12.2

Szeliski's book