Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kArray1 GoGeoCal_XResolutionFit | ( | GoGeoCal | cal,
|  | kSize | cameraIndex
| ) |  |

Gets X resolution to Z fit.

The X and Y resolution (mm/pixel) of an imager's pixels varies with the range. When resampling images, it is necessary to know the native resolution of each pixel. Typically, this is only needed for color/texture output. Profile cameras would have a fit set to kNULL. The fit is stored as polynomial coefficients. The X resolution at a given Z range (mm) can be determined by:

      X resolution = coefficients[0] + coefficients[1]*Z + ... + coefficients[N]*Z^N

Version
  Introduced in firmware 4.7.0.130

Parameters

  cal | GoGeoCal object.
  cameraIndex | Camera index.

Returns
  Array of X resolution to Z fit coefficients. Type: k64f. kNULL is returned if the camera does not have a X resolution to Z fit.