11 #ifndef GO_WEB_SCAN_VISION_RESAMPLER_H
12 #define GO_WEB_SCAN_VISION_RESAMPLER_H
116 #include <GoWebScanSdk/GoWebScanVisionResampler.x.h>
Represents coefficients of a linear fit. The fit can be applied as follows: y(x) = c1*x + c0...
Definition: GoWebScanSdkDef.h:514
k32s yResolution
Expected Y-resolution of resampled output data (mils/pixel).
Definition: GoWebScanVisionResampler.h:60
GoWebScanLinearFunction xResAsZ
Vision X resolution to Z fit as taken from sensor's GoGeoCal file.
Definition: GoWebScanVisionResampler.h:53
k32s terrainXSubsampling
Terrain X-resolution is determined by this field (vision-x-resolution shifted right by terrainXSubsam...
Definition: GoWebScanVisionResampler.h:61
kSSize xStartPix
Start of resampled data in system coords (pixels).
Definition: GoWebScanVisionResampler.h:57
GoWebScanLinearFunction zOffAsR
Vision Z offset to image row fit.
Definition: GoWebScanVisionResampler.h:55
kStatus GoWebScanVisionResampler_Clear(GoWebScanVisionResampler resampler)
Clears internal buffers and resets the algorithm.
kSSize imageWidth
Expected width of vision images (pixels).
Definition: GoWebScanVisionResampler.h:50
kSSize xCountPix
Count of resampled pixels in X (pixels).
Definition: GoWebScanVisionResampler.h:58
k32s breakDistance
Vision messages with a Y position greater than this threshold from the current message will be cleare...
Definition: GoWebScanVisionResampler.h:63
Essential GoWebScan declarations.
Represents parameters of the vision Y-resampler algorithm.
Definition: GoWebScanVisionResampler.h:48
kStatus(kCall * GoWebScanVisionResamplerDataFx)(kPointer context, k64s rowIndex, const GoWebScanInputAttr *attributes, const kRgb *points, kSSize pointCount)
Defines the signature for the handler for accepting the output resampled rows.
Definition: GoWebScanVisionResampler.h:67
Represents a message stamp containing properties of a message.
Definition: GoWebScanSdkDef.h:484
k32s xCenter
Center of vision node in system coords (mils).
Definition: GoWebScanVisionResampler.h:52
kSSize imageHeight
Expected height of vision images (pixels).
Definition: GoWebScanVisionResampler.h:51
kStatus GoWebScanVisionResampler_Process(GoWebScanVisionResampler resampler, const GoWebScanMsgStamp *stamp, kImage vision, kArray2 *terrain, kArray1 *terrainInputs, kSSize terrainCount, k64s terrainTile)
Runs the vision resampler algorithm on a vision tile and set of terrain tiles that are matched (in Y)...
kStatus GoWebScanVisionResampler_SetDataHandler(GoWebScanVisionResampler resampler, GoWebScanVisionResamplerDataFx data, kPointer context)
Sets the handler for accepting the processed resampled rows from the algorithm.
k32s xResolution
Expected X-resolution of resampled output data (mils/pixel).
Definition: GoWebScanVisionResampler.h:59
Represents an algorithm for producing uniform-resolution resampled vision output given input terrain ...
kStatus GoWebScanVisionResampler_Construct(GoWebScanVisionResampler *resampler, const GoWebScanVisionResamplerParams *args, const k32s *yOffsets, kAlloc allocator)
Constructs a GoWebScanVisionResampler object.
GoWebScanLinearFunction yResAsZ
Vision Y resolution to Z fit as taken from sensor's GoGeoCal file.
Definition: GoWebScanVisionResampler.h:54
kSSize yTilePix
Expected Y-extent of vision tiles (pixels).
Definition: GoWebScanVisionResampler.h:62
Declares a GoWebScanConfig object.
k32s zMaximum
Expected maximum Z value produced by profile sensors in system. Typically selected to be max of senso...
Definition: GoWebScanVisionResampler.h:56