View source: R/sky_grid_centers.R
sky_grid_centers | R Documentation |
Return image row and column indices for the center point of each
cell in a sky grid composed of circular trapezoids of equal angular
resolution defined by angle_width
.
sky_grid_centers(z, a, angle_width)
z |
terra::SpatRaster generated with |
a |
terra::SpatRaster generated with |
angle_width |
numeric vector of length one. Angle in deg that must
divide both 0–360 and 0–90 into an integer number of segments. Retrieve a
set of valid values by running
|
data.frame
with integer columns row
and col
, one per grid cell.
sky_grid_segmentation()
z <- zenith_image(100, lens())
a <- azimuth_image(z)
sky_grid_centers(z, a, 45)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.