Source: http://cv2.csie.ntu.edu.tw/CV2/2023/textbook.pdf