drone_image_area: Calculate the area of land captured in a drone image

Description Usage Arguments Value

View source: R/drone_image_area.R

Description

See the derivations for diagrams to check which angles are what.

Usage

1
2
3
4
5
6
7
8
9
drone_image_area(
  camera_angle,
  vertical_fov,
  horizontal_fov,
  height,
  pixel_row,
  pixel_col,
  dim = FALSE
)

Arguments

camera_angle

Angle of the camera in degrees, as measured from the height of the drone.

vertical_fov

Vertical field of view of the camera, in degrees.

horizontal_fov

Horizontal field of view of the camera, in degrees.

height

Height of the drone in metres.

pixel_row

Number of rows of pixels recorded.

pixel_col

Number of columns of pixels recorded.

dim

Output a list of the dimensions, two bases and height, of trapezoid.

Value

Area of the trapezoid captured in the image, measured in metres squared.


softloud/droneland documentation built on Dec. 23, 2021, 3:31 a.m.