Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

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

Gets Y 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 Y resolution at a given Z range (mm) can be determined by:

      Y 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 Y resolution to Z fit coefficients. Type: k64f. kNULL is returned if the camera does not have a X resolution to Z fit.