P300 Magic Card Visualisation

Summary

Doc_BoxAlgorithm_P300MagicCardVisualisation.png
  • Plugin name : P300 Magic Card Visualisation
  • Version : 1.0
  • Author : Yann Renard
  • Company : INRIA
  • Short description : Presents a matrix of images to the user in various ways
  • Documentation template generation date : Nov 2 2017

Description

This box can be used with a P300 based paradigm to have a simple game. A collection of cards are presented to the user. He chooses one card among all and focuses on this card. The application shows each card sequentially. After a number of repetitions, the card that the user was focusing on is automatically found.

Doc_BoxAlgorithm_P300MagicCardVisualisation_Snapshot1.png
The P300 Magic Card Visualisation showing all the cards
Doc_BoxAlgorithm_P300MagicCardVisualisation_Snapshot2.png
The P300 Magic Card Visualisation flashing one of the cards

Inputs

This box has three inputs. The most important one is the first one, sequencing the which card to show to the user. The two other inputs are optional and used for defining the target and the selected card.

1. Sequence stimulations

This input is used for sequencing the card display. It uses specific stimulations to know which card should be shown (see

  1. Card stimulation base
) The card display is switched off thanks to the OVTK_StimulationId_VisualStimulationStop stimulation (this is automatically triggered by the P300 Speller Stimulator box).

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)

2. Target stimulations

This input is used in order to define the target card the user should focus on. See

  1. Card stimulation base
to know what stimulation should be used. The target card will be highlighted with a specific color so the user quickly notices it.

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)

3. Card selection stimulations

This input is used in order to define the selected card the user should focus on. See

  1. Card stimulation base
to know what stimulation should be used. The selected card will be highlighted with a specific color so the user quickly notices it.

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)

Outputs

1. Target / Non target flagging

This output is used to translate incoming stimulations depending if they are target or not. The actual target is determined with the second input. As soon as the target is known, each flash can be considered as a target flash or not. This can be later use for selecting evoked response potentials against other responses.

  • Type identifier : Stimulations (0x6f752dd0, 0x082a321e)

Settings

1. Interface filename

This is the gtk builder interface to use for the GUI.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card.ui ]

2. Background color

This color defines the default background.

  • Type identifier : (0x7f45a2a9, 0x7db12219)
  • Default value : [ 90,90,90 ]

3. Target background color

This color defines the background color for target card.

  • Type identifier : (0x7f45a2a9, 0x7db12219)
  • Default value : [ 10,40,10 ]

4. Selected background color

This color defines the background color for selected card.

  • Type identifier : (0x7f45a2a9, 0x7db12219)
  • Default value : [ 70,20,20 ]

5. Card stimulation base

This stimulation is used as a basis for the flashes. For example, flashing the first card consists in sending this exact stimulation code to the first input. Flashing the second card needs this stimulation code + 1 and so on.

  • Type identifier : Stimulation (0x2c132d6e, 0x44ab0d97)
  • Default value : [ OVTK_StimulationId_Label_01 ]

6. Default background filename

Default background image for every card (the image displayed when the card is NOT flashed). If this setting is empty, the background image for every card must be named "<i>cardname</i>-offscreen" (e.g. "01.png-offscreen").

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/openvibe-logo.png-offscreen ]

7. Card filename

1st card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/01.png ]

8. Card filename

2nd card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/02.png ]

9. Card filename

3rd card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/03.png ]

10. Card filename

4th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/04.png ]

11. Card filename

5th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/05.png ]

12. Card filename

6th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/06.png ]

13. Card filename

7th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/07.png ]

14. Card filename

8th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/08.png ]

15. Card filename

9th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/09.png ]

16. Card filename

10th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/10.png ]

17. Card filename

11th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/11.png ]

18. Card filename

12th card. Cards are ordered from left to right, line after line.

  • Type identifier : Filename (0x330306dd, 0x74a95f98)
  • Default value : [ ${Path_Data}/plugins/simple-visualisation/p300-magic-card/12.png ]

Examples

This box is used in the P300 magic card BCI. Please see this scenario in the sample openvibe-scenarios.

Miscellaneous