http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public 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 ) |
Visual Basic |
---|
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 _ ) |
Visual C++ |
---|
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 ) |
Parameters
- imgWidth
- Type: System..::..Int32
Image width in pixels
- imgHeight
- Type: System..::..Int32
Image height in pixels
- apertureWidth
- Type: System..::..Double
Aperture width in realworld units (optional input parameter). Set it to 0 if not used
- apertureHeight
- Type: System..::..Double
Aperture width in realworld units (optional input parameter). Set it to 0 if not used
- fovx
- Type: System..::..Double%
Field of view angle in x direction in degrees
- fovy
- Type: System..::..Double%
Field of view angle in y direction in degrees
- focalLength
- Type: System..::..Double%
Focal length in realworld units
- principalPoint
- Type: Emgu.CV.Structure..::..MCvPoint2D64f%
The principal point in realworld units
- pixelAspectRatio
- Type: System..::..Double%
The pixel aspect ratio ~ fy/f