METHOD, APPARATUS, AND SYSTEM FOR PROVIDING A DISTANCE MARKER IN AN IMAGE
First Claim
1. A method for rendering a distance marker in an image comprising:
- determining a plurality of camera characteristics of a camera used to capture the image, wherein the plurality of camera characteristics includes a camera field of view, a horizon offset, a camera mounting height, a camera mounting axis, or a combination thereof;
determining a ground plane extending to a horizon depicted in the image, a camera position with respect to the ground plane, and an image plane based on the plurality of characteristics, wherein the image plane is orthogonal to the ground plane and intersects the ground plane at a designated distance from the camera position;
determining a first marker position on the ground plane that corresponds to the distance marker;
projecting a ray from the camera position through the first marker position on the ground plane to a second marker position on the image plane; and
rendering the distance marker in the image based on the second marker position on the image plane.
1 Assignment
0 Petitions
Accused Products
Abstract
An approach is provided for rendering a distance marker in an image. The approach, for example, involves determining a plurality of camera characteristics of a camera used to capture the image. The plurality of camera characteristics, for instance, can include a camera field of view, a horizon offset, a camera mounting height, a camera mounting axis, or a combination thereof. The approach also involves determining a ground plane extending to a horizon depicted in the image, a camera position with respect to the ground plane, and an image plane based on the plurality of characteristics, wherein the image plane is orthogonal to the ground plane and intersects the ground plane at a designated distance from the camera position. The approach further involves projecting a ray from the camera position through the distance marker on the ground plane to a marker position on the image plane, and rendering the distance marker in the image based on the marker position on the image plane.
4 Citations
20 Claims
-
1. A method for rendering a distance marker in an image comprising:
-
determining a plurality of camera characteristics of a camera used to capture the image, wherein the plurality of camera characteristics includes a camera field of view, a horizon offset, a camera mounting height, a camera mounting axis, or a combination thereof; determining a ground plane extending to a horizon depicted in the image, a camera position with respect to the ground plane, and an image plane based on the plurality of characteristics, wherein the image plane is orthogonal to the ground plane and intersects the ground plane at a designated distance from the camera position; determining a first marker position on the ground plane that corresponds to the distance marker; projecting a ray from the camera position through the first marker position on the ground plane to a second marker position on the image plane; and rendering the distance marker in the image based on the second marker position on the image plane. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus for rendering a distance marker in an image comprising:
-
at least one processor; and at least one memory including computer program code for one or more programs, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least the following, providing data for presenting a user interface depicting the image; receiving an input for selecting a location in the image; determining a ground plane with respect to a horizon depicted in the image, a camera position of a camera used to capture the image, and an image plane orthogonal to the ground plane representing a two-dimensional environment depicted in the image including the location; projecting a ray from the selected location on the image plane through the ground plane to the camera position; and determining the distance of the location from the camera position based on an intersection point of the ray with the ground plane. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A non-transitory computer-readable storage medium for rendering a distance marker in an image, carrying one or more sequences of one or more instructions which, when executed by one or more processors, cause an apparatus to perform:
-
determining a plurality of camera characteristics of a camera used to capture the image; determining a ground plane extending to a horizon depicted in the image, a camera position with respect to the ground plane, and an image plane based on the plurality of characteristics, wherein the image plane is orthogonal to the ground plane and intersects the ground plane at a designated distance from the camera position; projecting a ray from the camera position through the distance marker on the ground plane to a marker position on the image plane; and rendering the distance marker in the image based on the marker position on the image plane. - View Dependent Claims (17, 18, 19, 20)
-
Specification