NodeIcon UndistortScreenPoints

Only in Wrap4D

Undistorts screen points in accordance to the UndistortImage node.

Note

For more information about the distortion used, see the Camera node.

Attention

When importing camera into the Camera node, make sure you set Import principal point option!

Inputs

ScreenPoints

ScreenPoints Screen points to be undistorted

Camera

Camera Calibration camera

Output

ScreenPoints Output undistorted screen points

Parameters

Boundary Type:

See a scheme below

Keep Intrinsic

Using camera calibration parameters

Inner Boundary

Fits the image so that there are no unwanted pixels, but at the same time cuts off some of the image pixels

In Between Boundary

Intermediate result between Inner Boundary and Outer Boundary

Outer Boundary

Fits the image so that all the pixels in the image are preserved, but unwanted pixels appear

../../_images/UndistortBordersTypes3.png
Undistortion Method:
Reality Capture

The undistortion image is similar to the result of Reality Capture

Reset Optical Center:

If set, the center of the image will match the optical center (In other words, the Camera principal point will be set at (0, 0))

Remove Outer Points:

If set, removes points that are outside the screen boundaries

Accept Zero Distortion:

If not set and all camera distortion coefficients are zero, the node will return an error

Note

Please make sure that Bounfary Type, Undistortion Method and Reset Optical Center parameters are the same as in the corresponded UndistortImage node.