Difference between revisions of "Programming Reference:VisualizationDemo Signal Processing"

From BCI2000 Wiki
Jump to: navigation, search
(Parameters)
(Inheritance)
Line 7: Line 7:
 
==Inheritance==
 
==Inheritance==
 
The ''VisualizationDemoFilter'' signal processing filter derives from ''GenericFilter''.
 
The ''VisualizationDemoFilter'' signal processing filter derives from ''GenericFilter''.
 +
 +
==Function==
 +
The ''VisualizationDemoFilter'' computes pairwise determination coefficients (<math>r^2</math> values) between its input channels. Determination coefficients are visualized in form of pie charts, and pie charts are sent to the operator module as bitmap visualization data.
  
 
==Parameters==
 
==Parameters==

Revision as of 14:26, 21 January 2019

Location

src/contrib/SignalProcessing/VisualizationDemo

Synopsis

The VisualizationDemo signal processing module demonstrates how to send visualizations with arbitrary pixel content to the operator module. Two rendering methods are provided: Native Qt QPainter-based rendering, and BCI2000's own GraphDisplay based rendering.

Inheritance

The VisualizationDemoFilter signal processing filter derives from GenericFilter.

Function

The VisualizationDemoFilter computes pairwise determination coefficients (r^2 values) between its input channels. Determination coefficients are visualized in form of pie charts, and pie charts are sent to the operator module as bitmap visualization data.

Parameters

VisImageWidth

Native image width in pixels.

VisImageHeight

Native image height in pixels.

VisImageBackground

The images' background color, in hexadecimal notation.

VisImageDecimation

A positive integer that indicates how often images are refreshed. 1 means every refresh on every signal packet.

VisMaxWindows

The maximum number of visualization windows created, or 0 for any number of windows.

See also

Programming Reference:GraphDisplay Class, Programming Reference:GenericVisualization Class