IntrinsicCameraParametersGetIntrinsicMatrixValues Method |
http://www.emgu.com
computes various useful camera (sensor/lens) characteristics using the computed camera calibration matrix, image frame resolution in pixels and the physical aperture size
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic void GetIntrinsicMatrixValues(
int imgWidth,
int imgHeight,
double apertureWidth,
double apertureHeight,
out double fovx,
out double fovy,
out double focalLength,
out MCvPoint2D64f principalPoint,
out double pixelAspectRatio
)
Public Sub GetIntrinsicMatrixValues (
imgWidth As Integer,
imgHeight As Integer,
apertureWidth As Double,
apertureHeight As Double,
<OutAttribute> ByRef fovx As Double,
<OutAttribute> ByRef fovy As Double,
<OutAttribute> ByRef focalLength As Double,
<OutAttribute> ByRef principalPoint As MCvPoint2D64f,
<OutAttribute> ByRef pixelAspectRatio As Double
)
public:
void GetIntrinsicMatrixValues(
int imgWidth,
int imgHeight,
double apertureWidth,
double apertureHeight,
[OutAttribute] double% fovx,
[OutAttribute] double% fovy,
[OutAttribute] double% focalLength,
[OutAttribute] MCvPoint2D64f% principalPoint,
[OutAttribute] double% pixelAspectRatio
)
member GetIntrinsicMatrixValues :
imgWidth : int *
imgHeight : int *
apertureWidth : float *
apertureHeight : float *
fovx : float byref *
fovy : float byref *
focalLength : float byref *
principalPoint : MCvPoint2D64f byref *
pixelAspectRatio : float byref -> unit
Parameters
- imgWidth
- Type: SystemInt32
Image width in pixels - imgHeight
- Type: SystemInt32
Image height in pixels - apertureWidth
- Type: SystemDouble
Aperture width in realworld units (optional input parameter). Set it to 0 if not used - apertureHeight
- Type: SystemDouble
Aperture width in realworld units (optional input parameter). Set it to 0 if not used - fovx
- Type: SystemDouble
Field of view angle in x direction in degrees - fovy
- Type: SystemDouble
Field of view angle in y direction in degrees - focalLength
- Type: SystemDouble
Focal length in realworld units - principalPoint
- Type: Emgu.CV.StructureMCvPoint2D64f
The principal point in realworld units - pixelAspectRatio
- Type: SystemDouble
The pixel aspect ratio ~ fy/f
See Also