Fuse

The Fuse module is used to Fuse one or several streams of matrices and id:s. The stream consists of one input where each row represents a homogeneous matrices (h_matrix) together with two arrays for the object_id and frame_id for each h_matrix. The object_id is the id of the object coded by the h_matrix and the frame_id is the id of the reference frame, i. e. the coordinate system that is used. The different inputs with the same object and frame id are combined into a single column in the output. The number of inputs streams must be set using the parameter no_of_inputs. This will generate inputs with the names MATRIX_1, OBJECT_ID_1 and FRAME_ID_1 etc. Three connections are thus needed for each stream.

Example XML definition

A simple example

  <module
      class = "Fuse"
      name = "Fuse"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "Fuse".string
nameThe name of this instance of the module.string
no_of_inputsThe number of inputs to Fuseint2

Module Connections

Inputs

NameDescription
*One or several inpus. The inputs are named MATRIX_1, OBJECT_ID_1 and FRAME_ID_1 etc

Outputs

NameDescription
MATRIXA new table of matrixes where each instance of every object has been Fused
OBJECT_IDA new table of object ids where each instance of every object has been Fused
FRAME_IDA new table of frame ids where each instance of every object has been Fused

Author

Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science

Files

Fuse.h
Fuse.cc
Fuse.ikc

blog comments powered by Disqus