GoWebScan API
GoWebScanDetectionTask Class Reference

Description

Represents a task for identifying discrete objects within presence data, aggregating web tiles into complete objects, performing optional post-processing, and emitting the results. GoWebScanDetectionTask is only used in Detection Mode, and is the final stage before results are delivered back to the GoWebScanProcess object.

Upon arrival, web messages are immediately added to a GoWebScanDetector object, which identifies groups of tiles forming a complete object. When the GoWebScanDetector finds a complete object, a detector frame is passed back to GoWebScanDetectionTask for processing. Individual web tiles are appended to form object-sized images (one image per top/bottom group and per profile/vision/tracheid type), which are then (optionally) post-processed. The final results are combined into a single GoWebScanSystemMsg and emitted from GoWebScanDetectionTask.

Processing steps:

  1. GoWebScanSystemMsg objects from GoWebScanWebTask are added to the GoWebScanDetector algorithm.
  2. After the detector has found a complete object, the task combines the web tiles containing the object.
  3. If the edge filter option is enabled, edge spikes and disconnected regions are filtered.
  4. If the background filter is enabled, the background of tracheid and vision data is removed.
  5. The final GoWebScanSystemMsg is emitted.
    See also
    GoWebScanDetector, GoWebScanWebTask, GoWebScanSystemMsg, GoWebScanEdgeFilter
Inheritance diagram for GoWebScanDetectionTask:
Inheritance graph

Public Member Functions

kStatus GoWebScanDetectionTask_Clear (GoWebScanDetectionTask task)
 Clears detector algorithm and resets internal variables. More...
 
kStatus GoWebScanDetectionTask_Construct (GoWebScanDetectionTask *task, GoWebScanProcess process, GoWebScanConfig config, kAlloc allocator)
 Constructs a GoWebScanDetectionTask object. More...
 
kStatus GoWebScanDetectionTask_Send (GoWebScanDetectionTask task, GoWebScanPipeMsg msg)
 Adds a message to the processing queue. More...
 
kStatus GoWebScanDetectionTask_SetReceiver (GoWebScanDetectionTask task, GoWebScanPipeSendFx send, kPointer context)
 Sets the handler for receiving emitted detected boards. More...
 

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