Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Overview Single - view metrology corresponds to a set of techniques for making 3 - D measurements from a single 2 - D image. Such
Overview
Singleview metrology corresponds to a set of techniques for making D measurements from a single D image. Such measurements have several applications including, for example, measuring the height of a suspect in a crimescene image. We will consider a simple scenario of singleview metrology estimating D measurements of objects in a rendered D image.
Description
Consider the image shown in Figure You are given the following information about the D scene. There are three poles colored yellow, green, and blue, and a ground plane in this scene. The three poles are perpendicular to the ground plane. The ground plane is parallel to the XZ plane, and the camera's optical axis is parallel to the Zaxis. Standing at meters, the yellow and green poles are of the same height in the D scene. The distance between these two poles is meters. The green and blue poles are at the same, but unknown, distance from the camera. Finally, the resolution of the image sensor of the camera is pixels per meter.
Recall the perspective projection equation that tells us the relationship between a point's location in the D world XYZ the camera focal length f and the projection of that point in the image xy:
and
Write a python script to measure the heights and distances between the poles in image coordinates. You may use the pixel locations provided below to estimate the location of the pole endpoints in the image:
From these image measurements and the D quantities specified above, you will be able to determine the camera focal length and D height of the blue pole.
Deliverables:
Using the above perspective projection equations, write code to compute and report:
Camera focal length f in mm
D height Y of blue pole in m
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started