Starting from:

$24.99

ME6406Homework 3 Solution

a) Camera Model. Write a program (CameraModel.m) to transform the 3D world coordinates (XwYwZw) of the 20 calibration points (represented by ‘*’ in Fig. 1 and Table 1) to the 2D image coordinates (udvd) using
b) Camera Calibration. Write a program (CameraCalibration.m) to calibrate compute f, [R], T. Given the above data in camera_calibration_data.mat. Compute f, [R], T, k1.

Fig. 1 Camera model and calibration
Problem 2: Morphology
a) Let A denote the set shown in Fig. 2(a). Refer to the structuring elements shown (the black dots denote the origin). Hand-sketch the result obtained from each of the following morphological operations:


b) Use the following steps (1. AB, 2. AӨB, and 3. AB−(AӨB), and the structure element B in Fig. 2(b) to perform a morphological filtering on the head-CT image A (Fig. 2c). Show the
corresponding images obtained from each of the operations. Fig. 2(b)
Suggested MATLAB function:
imdilate.m, imerode.m Fig. 2(c)

Problem 3: Robot Eye-on-Hand Calibration
Figure 3(a) shows the setup for performing an eye-on-hand calibration where a stationary planar calibration board is viewed at 3 different locations by a camera mounted on a robot gripper. Figure 3(b) shows the images in three camera image planes. The transformation matrices from CW to Ci can be determined by the camera calibration ([Hci] where i=1, 2, 3). The rigid body transformations of the robot gripper from Stations 1 to 2 and 2 to 3 are given by the robot controller, which are denoted respectively by [Hg12] and [Hg23]. Write a MATLAB program to perform an eye-on-hand calibration; use [Hc1], [Hc2], and [Hc3] data in ‘robot_hand_eye_data.mat’ to illustrate your solutions:
1) Compute ([Rc12], Tc12) and ([Rc23], Tc23).
2) Obtain the equivalent angle-axis representation (n, θ) for each of the rotation matrixes: [Rc12], [Rc23], [Rg12] and [Rg23].
3) Compute Pc12, Pc23, Pg12 and Pg23. Check your solutions by computing [Rg12] and [Rg23] using Equations (8) and (10) in [2] and comparing with those given in the data file ‘robot_hand_eye_data.mat’.
4) Use the procedure in [2] to compute Pcg, [Rcg] and Tcg.

Fig. 3(a) Fig. 3(b)
Problem 4: Ellipse-Circle Correspondence
A circle captured by a camera (with focal length f=0.825cm) in the image plane has the following general ellipse equation: Au2 +2Buv Cv+ 2 +2Du+2Ev F+ =0 . The coefficients are given in file ‘coef2023.mat’, and the circle radius r = 7.5cm. Determine the following parameters:
1) The center of the circle with respect to the camera frame.
2) The plane equation (with respect to the camera frame) that contains the circle.
3) With no additional information, multiple solutions are possible. Find all valid solutions.

Reference:
[1] Tsai, R. "A Versatile Camera Calibration Technique for High-accuracy 3D Machine Vision Metrology using Off-the-shelf TV Cameras and Lenses," IEEE Trans. on Robotics and Automation, Vol. 3, No.4, pp. 323- 344, 1987.
[2] Tsai, R.Y. and R.K. Lenz, “A New Technique for Fully Autonomous and Efficient 3D Robotics Hand/Eye Calibration,” IEEE Trans. on Robotics and Automation, Vol. 5, No. 3, 1989.
[3] Qiang Ji, Mauro Costa, Robert Haralick, and Linda Shapiro, “An Integrated Linear Technique for Pose Estimation from Different Features,” International Journal of Pattern Recognition and Artificial Intelligence, Vol. 13, No. 5, 1999.

More products