Table of Contents

Class Cv2.FishEye

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

The methods in this class use a so-called fisheye camera model.

public static class Cv2.FishEye
Inheritance
Cv2.FishEye
Inherited Members

Methods

Calibrate(IEnumerable<Mat>, IEnumerable<Mat>, Size, InputOutputArray, InputOutputArray, out IEnumerable<Mat>, out IEnumerable<Mat>, FishEyeCalibrationFlags, TermCriteria?)

Performs camera calibaration

DistortPoints(InputArray, OutputArray, InputArray, InputArray, InputArray, double)

Distorts 2D points using the fisheye model. Overload that handles cases when undistorted points were obtained with a non-identity camera matrix (e.g. the output of EstimateNewCameraMatrixForUndistortRectify).

DistortPoints(InputArray, OutputArray, InputArray, InputArray, double)

Distorts 2D points using fisheye model.

EstimateNewCameraMatrixForUndistortRectify(InputArray, InputArray, Size, InputArray, OutputArray, double, Size, double)

Estimates new camera matrix for undistortion or rectification.

InitUndistortRectifyMap(InputArray, InputArray, InputArray, InputArray, Size, int, OutputArray, OutputArray)

Computes undistortion and rectification maps for image transform by cv::remap(). If D is empty zero distortion is used, if R or P is empty identity matrixes are used.

ProjectPoints(InputArray, OutputArray, InputArray, InputArray, InputArray, InputArray, double, OutputArray)

Projects points using fisheye model.

The function computes projections of 3D points to the image plane given intrinsic and extrinsic camera parameters.Optionally, the function computes Jacobians - matrices of partial derivatives of image points coordinates(as functions of all the input parameters) with respect to the particular parameters, intrinsic and/or extrinsic.

StereoCalibrate(IEnumerable<Mat>, IEnumerable<Mat>, IEnumerable<Mat>, InputOutputArray, InputOutputArray, InputOutputArray, InputOutputArray, Size, OutputArray, OutputArray, FishEyeCalibrationFlags, TermCriteria?)

Performs stereo calibration

StereoRectify(InputArray, InputArray, InputArray, InputArray, Size, InputArray, InputArray, OutputArray, OutputArray, OutputArray, OutputArray, OutputArray, FishEyeCalibrationFlags, Size, double, double)

Stereo rectification for fisheye camera model

UndistortImage(InputArray, OutputArray, InputArray, InputArray, InputArray, Size)

Transforms an image to compensate for fisheye lens distortion.

UndistortPoints(InputArray, OutputArray, InputArray, InputArray, InputArray, InputArray)

Undistorts 2D points using fisheye model