SaliencePoints

The module SaliencePoints takes a list of image coordinates and convert it into a saliency map that is suitable as input to the SaliencyMap module. The list must be coded as rows with (x,y)-values. The column with the coordinates can be set using the select parameter. A column with saliency values can optionally be selected using the select_salience parameter. If the COUNT input is connected it indicates the number of rows in the input to use.

Example XML definition

A simple example

  <module
      class = "SaliencePoints"
      name = "SaliencePoints"
      select = "0"
      sigma = "20"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "SaliencePoints".string
nameThe name of this instance of the module.string
size_xSize of outputint128
size_ySize of outputint128
sigmaWidth of gaussian salience regionfloat2.0
scaleSaliency scaling factorfloat1.0
selectColumn with the x coordinate; the next is assumed to contain yint0
select_salienceColumn with saliency value. none produces same saliency for all pointsintnone

Module Connections

Inputs

NameDescription
INPUTThe matrix with rows containing coordinates (in the range 0-1) and (optionally) salience.
COUNTThe number of rows containing saliency data.

Outputs

NameDescription
OUTPUTSalience output.

Author

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

Files

SaliencePoints.h
SaliencePoints.cc
SaliencePoints.ikc

blog comments powered by Disqus