AttentionFocus

Module that extracts a region of an image around the coordinates given in the FOCUS input.

Example XML definition

A simple example

  <module
      class = "AttentionFocus"
      name = "AttentionFocus"
      output_radius = "3"
  />

Parameters

NameDescriptionTypeDefault
classThe class name for the module; must be "AttentionFocus".string
nameThe name of this instance of the module.string
output_radiusThe radius of the focusint

Module Connections

Inputs

NameDescription
INPUTThe input input
FOCUSA 2x1 array that represents the center of the focus in the input image. Range from 0 to 1, where 0.5 is the center of the image

Outputs

NameDescription
OUTPUTThe focus of attention output of size output_radius*2+1

Author

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

Files

AttentionFocus.h
AttentionFocus.cc
AttentionFocus.ikc

blog comments powered by Disqus