Click or drag to resize
IntrinsicCameraParameters Class

Note: This API is now obsolete.

Intrinsic camera parameters
Inheritance Hierarchy

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
[ObsoleteAttribute("This class will be removed in the next release, please use separate camera matrix and distortion coefficient with the CvInvoke function instead.")]
public class IntrinsicCameraParameters : IEquatable<IntrinsicCameraParameters>

The IntrinsicCameraParameters type exposes the following members.

Public methodIntrinsicCameraParameters
Create the intrinsic camera parameters
Public methodIntrinsicCameraParameters(Int32)
Create the intrinsic camera parameters
Public propertyDistortionCoeffs
Get or Set the DistortionCoeffs ( as a 5x1 (default), 4x1 or 8x1 matrix ). The ordering of the distortion coefficients is the following: (k1, k2, p1, p2[, k3 [,k4, k5, k6]]). That is, the first 2 radial distortion coefficients are followed by 2 tangential distortion coefficients and then, optionally, by the third radial distortion coefficients. Such ordering is used to keep backward compatibility with previous versions of OpenCV
Public propertyIntrinsicMatrix
Get or Set the intrinsic matrix (3x3)
Public methodEquals(Object) (Inherited from Object.)
Public methodEquals(IntrinsicCameraParameters)
Return true if the two intrinsic camera parameters are equal
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetIntrinsicMatrixValues
computes various useful camera (sensor/lens) characteristics using the computed camera calibration matrix, image frame resolution in pixels and the physical aperture size
Public methodGetType (Inherited from Object.)
Public methodInitUndistortMap
Pre-computes the undistortion map - coordinates of the corresponding pixel in the distorted image for every pixel in the corrected image. Then, the map (together with input and output images) can be passed to cvRemap function.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Public methodUndistort(PointF, MatrixDouble, MatrixDouble)
Similar to cvInitUndistortRectifyMap and is opposite to it at the same time. The functions are similar in that they both are used to correct lens distortion and to perform the optional perspective (rectification) transformation. They are opposite because the function cvInitUndistortRectifyMap does actually perform the reverse transformation in order to initialize the maps properly, while this function does the forward transformation.
Public methodUndistortTColor, TDepth(ImageTColor, TDepth)
Transforms the image to compensate radial and tangential lens distortion. The camera matrix and distortion parameters can be determined using cvCalibrateCamera2. For every pixel in the output image the function computes coordinates of the corresponding location in the input image using the formulae in the section beginning. Then, the pixel value is computed using bilinear interpolation. If the resolution of images is different from what was used at the calibration stage, fx, fy, cx and cy need to be adjusted appropriately, while the distortion coefficients remain the same
See Also