CVB.Net 15.1
Loading...
Searching...
No Matches

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< Point2DdUndistort (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.
 

Detailed Description

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.

Member Function Documentation

◆ Create()

static UndistortPointFilter Create ( string calibrationData)
static

Create a new UndistortPointFilter from the given calibrationData .

Parameters
calibrationDataThe calibration data in json format.
Returns
Newly created UndistortPointFilter.
Exceptions
ArgumentExceptionWhen calibrationData is null or empty.
CvbExceptionWhen an error during creation occurs.

◆ Dispose()

void Dispose ( bool disposing)

IDisposable helper function.

Parameters
disposing

◆ FromHandle()

static UndistortPointFilter FromHandle ( IntPtr handle)
static

Creates a new UndistortPointFilter from the given handle .

Parameters
handleNative handle.
Returns
Newly created UndistortPointFilter.
Exceptions
ArgumentExceptionWhen handle is IntPtr.Zero.

◆ Undistort()

IEnumerable< Point2Dd > Undistort ( IEnumerable< Point2Dd > distortedPoints)

Undistort the given distortedPoints .

Parameters
distortedPointsPoints to undistort.
Returns
Undistorted points.
Exceptions
ArgumentNullExceptionWhen distortedPoints is null.
ArgumentExceptionWhen distortedPoints is empty.
CvbExceptionWhen an error during undistortion occurs.

Event Documentation

◆ ObjectDisposing

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.