Namespace: Rx::LFR – Class: CCudaCompute – Header: Rx.LFR/CudaCompute.h

CCudaCompute::GetSensorPointsFromVirtualDistortedOrthographic_s Method

C++
void GetSensorPointsFromVirtualDistortedOrthographic_s(CRxArray<double>& rawPoints, double sourceX, double sourceY, double sourceZ, int radius_lu, int minAllowedDistanceToLensBorder_px)

Projects the given 3D point given in virtual space in sensor frame in millimeters through all suitable micro lenses.

Parameters

[CRxArray<double>&] rawPoints

[out] The projected points. This array contains three entries per projected point. The first and the second entry are the X and the Y coordinates of the projected point given in pixels in the raw image. The third entry is the corresponding lens type.

[double] sourceX

The X coordinate of the source point in virtual space in millimeters.

[double] sourceY

The Y coordinate of the source point in virtual space in millimeters.

[double] sourceZ

The Z coordinate of the source point in virtual space in millimeters.

[int] radius_lu

The radius given in lens units that is used to find the suitable micro lenses. A radius of 2 or 3 lens units is recommended.

[int] minAllowedDistanceToLensBorder_px

The minimal allowed distance to lens border in pixels.