Camera model assignment Consider a perspective camera (i.e., pinhole camera) that acquires images of size 512...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Camera model assignment Consider a perspective camera (i.e., pinhole camera) that acquires images of size 512 x 512 pixels, and is described by the following intrinsic parameters: Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper • skew factor: 0 . principal point: (256,256) ▪ focal distances: (200,200) Figure 1 illustrates a perspective camera as it projects a 3-D point onto the image plane. Figure 1: A perspective camera and the projection of a 3-D point onto the image (u-axis: red, v-axis: green, w- axis: blue). The center of projection is at the origin of the camera coordinate frame, which in this case coincides with the global coordinate frame (i.e., world coordinate frame). Question 1 What are the image coordinates x = (x, y) of the 3-D point w = (-50, 20, 200) projected under the camera? Hint: The perspective projection of a point w = (u, v, w) to an image point x = (x, y) is modeled by Equation 14.5 (Prince). This equation only accounts for the intrinsic parameters (i.e., transformations that happen inside the camera only). Question 2 What are the image coordinates of the vertices of the cube as represented by the matrix in Equation ???? 0 50 50 0 50 50 0 0 0 50 50 0 0 50 50 200 200 200 200 250 250 250 250 0 C = (1) Here, each column of matrix C is a vertex point w₁ = (ui, vi, w), for i=1,...,8. These points describe a cube that is positioned in front of the camera as shown in Figure 2. Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper Figure 2: A camera and the projection of the vertices of a cube onto the image (u-axis: red, v-axis: green, w- axis: blue). You must calculate the values of the image coordinates. Also, draft (draw) the image points (i.e., vertices as seen on the image). If you want, you can draw the figure on paper and submit a picture or scan of the paper (e.g., using the CamScanner App). You can also draw lines linking the image points to visualize the image of the cube. Hint: The expected image of the cube vertices (when linked by lines) would look like the drawing in Figure 3. Figure 3: Image of vertices of a cube as seen by a perspective camera. Vertices are linked with lines for better visualization. Question 3 Considering the same camera given in the previous questions and the cube vertices from Question 2, calculate the image coordinates of the vertices given that the camera now rotated by 35 degrees about the t-axis and translated along the u-axis by the following vector = (200,0,0). Figure 4 shows the original camera and the rotated camera. Figure 4: Original and rotated cameras pointed at a cube in space. The second camera is rotated about the u- axis (green) and translated along the u-axis (red). In this case, Equation 14.5 (Prince) would not work directly on the vertices coordinates given in matrix C. Before we can apply Equation 14.5, we need to remove the effects of the camera rotation and translation that took place. This can be done by considering the full perspective projection model, which accounts for the camera motion (i.e., extrinsic parameters). Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper The full perspective camera is given by Equation 14.8. To use this Equation, you need the values of the rotation parameters wij in Equation 14.6. In Equation 14.7, the rotation parameters are represented by the general matrix 2, i.e.: [WI1 WI2 W13] = W21 W22 W23 W31 W32 W33. cos 0 0 9, 01 sin 00 In the case of this question, we need to use the rotation about the v-axis (equivalent to a y-rotation in the zyz- frame). The rotation about the v-axis is given by: -sin 6 0 cos 0 (2) (3) Keep in mind that the angle in these calculations should be given in radians and not in degrees. You must convert the angle from degrees to radians. The rotation angle 8 and the translation vector 7 are given. The image of the cube as seen by the second camera looks like the one shown in Figure 5. 50 100 150 200 250 300 350 400 450 500 Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper 50 150 200 250 300 350 400 450 500 Figure 5: Cube as seen by the camera after rotation and translation. The second camera is rotated about the v- axis (green) and translated along the u-axis (red). 100 Camera model assignment Consider a perspective camera (i.e., pinhole camera) that acquires images of size 512 x 512 pixels, and is described by the following intrinsic parameters: Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper • skew factor: 0 . principal point: (256,256) ▪ focal distances: (200,200) Figure 1 illustrates a perspective camera as it projects a 3-D point onto the image plane. Figure 1: A perspective camera and the projection of a 3-D point onto the image (u-axis: red, v-axis: green, w- axis: blue). The center of projection is at the origin of the camera coordinate frame, which in this case coincides with the global coordinate frame (i.e., world coordinate frame). Question 1 What are the image coordinates x = (x, y) of the 3-D point w = (-50, 20, 200) projected under the camera? Hint: The perspective projection of a point w = (u, v, w) to an image point x = (x, y) is modeled by Equation 14.5 (Prince). This equation only accounts for the intrinsic parameters (i.e., transformations that happen inside the camera only). Question 2 What are the image coordinates of the vertices of the cube as represented by the matrix in Equation ???? 0 50 50 0 50 50 0 0 0 50 50 0 0 50 50 200 200 200 200 250 250 250 250 0 C = (1) Here, each column of matrix C is a vertex point w₁ = (ui, vi, w), for i=1,...,8. These points describe a cube that is positioned in front of the camera as shown in Figure 2. Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper Figure 2: A camera and the projection of the vertices of a cube onto the image (u-axis: red, v-axis: green, w- axis: blue). You must calculate the values of the image coordinates. Also, draft (draw) the image points (i.e., vertices as seen on the image). If you want, you can draw the figure on paper and submit a picture or scan of the paper (e.g., using the CamScanner App). You can also draw lines linking the image points to visualize the image of the cube. Hint: The expected image of the cube vertices (when linked by lines) would look like the drawing in Figure 3. Figure 3: Image of vertices of a cube as seen by a perspective camera. Vertices are linked with lines for better visualization. Question 3 Considering the same camera given in the previous questions and the cube vertices from Question 2, calculate the image coordinates of the vertices given that the camera now rotated by 35 degrees about the t-axis and translated along the u-axis by the following vector = (200,0,0). Figure 4 shows the original camera and the rotated camera. Figure 4: Original and rotated cameras pointed at a cube in space. The second camera is rotated about the u- axis (green) and translated along the u-axis (red). In this case, Equation 14.5 (Prince) would not work directly on the vertices coordinates given in matrix C. Before we can apply Equation 14.5, we need to remove the effects of the camera rotation and translation that took place. This can be done by considering the full perspective projection model, which accounts for the camera motion (i.e., extrinsic parameters). Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper The full perspective camera is given by Equation 14.8. To use this Equation, you need the values of the rotation parameters wij in Equation 14.6. In Equation 14.7, the rotation parameters are represented by the general matrix 2, i.e.: [WI1 WI2 W13] = W21 W22 W23 W31 W32 W33. cos 0 0 9, 01 sin 00 In the case of this question, we need to use the rotation about the v-axis (equivalent to a y-rotation in the zyz- frame). The rotation about the v-axis is given by: -sin 6 0 cos 0 (2) (3) Keep in mind that the angle in these calculations should be given in radians and not in degrees. You must convert the angle from degrees to radians. The rotation angle 8 and the translation vector 7 are given. The image of the cube as seen by the second camera looks like the one shown in Figure 5. 50 100 150 200 250 300 350 400 450 500 Note: I hope that the solution will be in a Word file or in a way that I can copy it, not with a pen and paper 50 150 200 250 300 350 400 450 500 Figure 5: Cube as seen by the camera after rotation and translation. The second camera is rotated about the v- axis (green) and translated along the u-axis (red). 100
Expert Answer:
Answer rating: 100% (QA)
Question 1 To calculate the image coordinates of a 3D point w 50 20 200 projected under the camera we can use Equation 145 x f u w f v w cx cy Given the following intrinsic parameters Skew factor 0 Pr... View the full answer
Posted Date:
Students also viewed these accounting questions
-
The supply of paper is described by the following equation: Qs = 5,000P where Qs is tons supplied per year and P is the price per ton. The demand is described by QD = 400,000 1,000P where QD is tons...
-
A discrete-time system is described by the following state-space model:v(n + 1) = Fv(n) + qx(n)y(n) = gtv(n) + dx(n)where(a) Sketch the corresponding state-space structure.(b) Calculate the impulse...
-
A process is described by the following transfer function Thus, it exhibits characteristics of both first-order and integrating processes. How could you utilize a step change in the input of...
-
The economic environment of our country currently does not lend itself to being able to successfully run capital campaigns. In a two page document, research and identify 2 successfully capital...
-
For the following scores, a. Sketch a scatter plot and estimate the Pearson correlation. b. Compute the Pearson correlation. Y-72360635 X-14112021
-
A reverse-osmosis plant is used to treat 30,000,000 gal/day of seawater at 20C containing 3.5 wt% dissolved solids to produce 10,000,000 gal/day of potable water with 500 ppm of dissolved solids, and...
-
prototype is an early sample, model, or release of a product that is built to test a concept or a process. The idea is to show the sample or model to potential users and then use their feedback to...
-
Doris Stann started her practice as a design consultant on September 1, 2017. During the first month of operations, the business completed the following transactions: Sep. 1 Received $47,000 cash and...
-
10. A skier plans to ski a smooth fixed hemisphere of radius R. He starts form rest on a curved smooth surface of height TR/4 The angle at which he leaves the hemisphere is : (a) cos Yshipma (b) cos...
-
The trial balance of Jeremina plc as at 31 March 20X2 is as follows: Notes: (i) Stock of finished goods on 31 March 20X2 163,000. (ii) Motor expenses and depreciation on motors to be apportioned:...
-
Bachman Company plans to develop a shopping center. In the first quarter, the following amounts were spent: $24,000 1,500 Acquisition of land Surveys and legal fees Land clearing Fencing Install...
-
Occasionally you need to draw an object and then move it into place to accurately locate it. A) True B) False
-
The Projects/Views listed in the Open Documents list allow you to see which Projects/Views are currently open. A) True B) False
-
Use a Linear dimension to ensure a dimension remains horizontal. A) True B) False
-
What is the probability of obtaining a prime in a single roll of a die?
-
If Revit displays an error message indicating a line is too small to be drawn, you simply zoom in more and try again. A) True B) False
-
Congratulations you just started your career as ageneticist! For your first project, your super villain bossFelonious Gru asks you to study patterns of gene inheritance in hisminions so he can create...
-
A non-charmed baryon has strangeness S = 2 and electric charge Q = 0. What are the possible values of its isospin I and of its third component I z ? What is it usually called if I = 1/2?
-
One of the disadvantages of the IEEET1 exciter is following a fault the terminal voltage does not necessarily return to its prefault value. Using PowerWorld Simulator case Problem 12_3 determine the...
-
Obtain a copy of the ACAS Code of Practice 1: Disciplinary and Grievance Procedures (2009). Use this, and our suggestions in this chapter, to rewrite or modify either of the procedures you used for...
-
Rework Example 13.6 if the source impedance at the sending end of line \(\mathrm{A}\) is \(\mathrm{Z}_{\mathrm{G}}=\mathrm{Z}_{\mathrm{A}} / 4=100 \Omega\), and the receiving end of line...
Study smarter with the SolutionInn App