A filter for undistorting 2D-point sets. This filter calculates undistorted 2D image points from distorted 2D image points for a given calibration configuration. It deals with individual pixel positions. To correct entire images, see UndistortImageFilter. More...
Inherits INativeHandle.
Public Member Functions | |
| void | Dispose (bool disposing) |
| IDisposable helper function. | |
| void | Dispose () |
| IDisposable implementation. | |
| IEnumerable< Point2Dd > | Undistort (IEnumerable< Point2Dd > distortedPoints) |
| Undistort the given distortedPoints . | |
Static Public Member Functions | |
| static UndistortPointFilter | Create (string calibrationData) |
| Create a new UndistortPointFilter from the given calibrationData . | |
| static UndistortPointFilter | FromHandle (IntPtr handle) |
| Creates a new UndistortPointFilter from the given handle . | |
Properties | |
| IntPtr | Handle [get] |
| Native handle of the Module. | |
| bool | IsDisposed [get] |
| Gets if the native handle has been disposed. | |
Events | |
| NativeHandleEventDelegate | ObjectDisposing |
| Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
Events inherited from INativeHandle | |
| NativeHandleEventDelegate | ObjectDisposing |
| Raised when this object is about to be disposed via the IDisposable.Dispose method. | |
A filter for undistorting 2D-point sets. This filter calculates undistorted 2D image points from distorted 2D image points for a given calibration configuration. It deals with individual pixel positions. To correct entire images, see UndistortImageFilter.
|
static |
Create a new UndistortPointFilter from the given calibrationData .
| calibrationData | The calibration data in json format. |
| ArgumentException | When calibrationData is null or empty. |
| CvbException | When an error during creation occurs. |
| void Dispose | ( | bool | disposing | ) |
IDisposable helper function.
| disposing |
|
static |
Creates a new UndistortPointFilter from the given handle .
| handle | Native handle. |
| ArgumentException | When handle is IntPtr.Zero. |
Undistort the given distortedPoints .
| distortedPoints | Points to undistort. |
| ArgumentNullException | When distortedPoints is null. |
| ArgumentException | When distortedPoints is empty. |
| CvbException | When an error during undistortion occurs. |
| NativeHandleEventDelegate ObjectDisposing |
Raised when this object is about to be disposed via the IDisposable.Dispose method.
This event is raised right before this object is disposed. The dispose itself cannot be canceled.