SEB_Viewing_Angles | R Documentation |
This function uses a stereo camera calibration *.mat file to estimate the horizontal angle of view for a camera pair. It is a translation from Matlab to R of functions from Kresimir Williams to calculate horizontal AOV and uses a translated function from the Bouget et al. 2008 to do the Rodrigues transformation of the calibration.
SEB_Viewing_Angles(calibration_file, image_width, image_height, plot.it = TRUE)
calibration_file |
a calibration file for a stereo camera from matlab (*.mat) |
image_width |
the image width from the camera in pixels |
image_height |
the image height from the camera in pixels |
plot.it |
do you want to generate a plot of the viewing angle? |
angles<-SEB_Viewing_Angles('dropcam_unit2_calibration_switched.mat', 2048,1536)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.