GoWebScan API
GoWebScanProfileMergeTask Class Reference

Description

Represents a task for merging profile tiles along X-axis from the cameras in a top or bottom group. Specifically, the task accepts a list of profile tiles that correspond to the same Y-position, and merges them into a single group-wide tile according to their respective source locations along the X-axis. Gaps and overlaps between adjacent tiles are processed according to configuration options. The task accepts GoWebScanTileListMsg objects and produces GoWebScanProfileTileMsg objects.

Processing steps:

  1. Clear the background of the output system tile.
  2. Add GoWebScanTileListMsg input tiles to the processing queue
  3. Blend the overlap between tiles. Overlaps are processed by searching for the last valid left element and first valid right element within the overlapping region between two tiles. If overlap exists, the overlapping elements are blended by weighted average.
  4. Fill gaps between tiles. Gaps are processed by searching for the last valid left element and first valid right element within the gap search window. If these elements are closer than the gap threshold, any null elements in between are filled in (nearest neighbour).
Inheritance diagram for GoWebScanProfileMergeTask:
Inheritance graph

Public Member Functions

kStatus GoWebScanProfileMergeTask_Construct (GoWebScanProfileMergeTask *task, GoWebScanProcess process, GoWebScanConfigGroup configGroup, kBool presenceDetection, kAlloc allocator)
 Constructs a GoWebScanProfileMergeTask object. More...
 
kStatus GoWebScanProfileMergeTask_Send (GoWebScanProfileMergeTask task, GoWebScanPipeMsg msg)
 Adds a message to the processing queue. More...
 
kStatus GoWebScanProfileMergeTask_SetReceiver (GoWebScanProfileMergeTask task, GoWebScanPipeSendFx send, kPointer context)
 Sets the handler for receiving merged system profile tiles. More...
 

The documentation for this class was generated from the following file: