“…where T (i, j) represents i-th row and j-th column of T. Note that the orientations are not independent variables in constant curvature model. In fact, orientations about x and y-axes are, respectively, found as θ x 1 = atan2 −T w 1h (2, 3) , T w 1h (3, 3) and θ y 1 = atan2 T w 1h (1, 3) , T w 1h (3,3) , where atan2 (y, x) = tan −1 (y/x) for x > 0, tan −1 (y/x) + π for x < 0, y ≥ 0, tan −1 (y/x) − πfor x < 0, y < 0, (πsign (y)) /2 for x = 0, and undefined for x = 0, y = 0. Orientation about the z-axis is computed from cos…”