First part: Image rectification.





Second part: Image composition.