fisheye_to_pano {rcaiman} | R Documentation |
Fisheye to panoramic
Description
Fisheye to panoramic (cylindrical projection)
Usage
fisheye_to_pano(r, z, a, fun = mean, angle_width = 1)
Arguments
r |
SpatRaster. A fish-eye image. |
z |
SpatRaster built with |
a |
SpatRaster built with |
fun |
A |
angle_width |
Numeric vector of length one. It should be |
Details
An early version of this function was used in Díaz et al. (2021).
References
Díaz GM, Negri PA, Lencinas JD (2021). “Toward making canopy hemispherical photography independent of illumination conditions: A deep-learning-based approach.” Agricultural and Forest Meteorology, 296, 108234. doi:10.1016/j.agrformet.2020.108234.
See Also
Other Lens Functions:
azimuth_image()
,
calc_diameter()
,
calc_relative_radius()
,
calc_zenith_colrow()
,
calibrate_lens()
,
crosscalibrate_lens()
,
expand_noncircular()
,
extract_radiometry()
,
fisheye_to_equidistant()
,
lens()
,
test_lens_coef()
,
zenith_image()
Examples
## Not run:
caim <- read_caim()
z <- zenith_image(ncol(caim), lens())
a <- azimuth_image(z)
pano <- fisheye_to_pano(caim, z, a)
plotRGB(pano %>% normalize() %>% multiply_by(255))
## End(Not run)