CVBpy 15.1
Loading...
Searching...
No Matches
UndistPointFilter Class Reference

A filter for undistorting 2D-point sets. More...

Public Member Functions

cvb.UndistPointFilter create (str calibration_data)
 Creates a point undistortion filter for a given calibration configuration.
 
List[cvb.Point2Dundistort (self, List[cvb.Point2D] points)
 Undistort a list of 2D points.
 

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 UndistImageFilter.

Member Function Documentation

◆ create()

cvb.UndistPointFilter create ( str calibration_data)

Creates a point undistortion filter for a given calibration configuration.

This filter calculates undistorted 2D image points from distorted 2D image points for the calibration configuration given at filter creation.

Parameters

calibration_data : str Calibration configuration in JSON format.

Returns

cvb.UndistPointFilter The generated filter.

◆ undistort()

List[cvb.Point2D] undistort ( self,
List[cvb.Point2D] points )

Undistort a list of 2D points.

Calculates undistorted 2D image points from distorted 2D image points for the calibration configuration given at filter creation.

Parameters

points : List[cvb.Point2D] List of distorted image points.

Returns

List[cvb.Point2D] List of undistorted image points.