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
Name | Description | Type | Default |
---|---|---|---|
class | The class name for the module; must be "AttentionFocus". | string | |
name | The name of this instance of the module. | string | |
output_radius | The radius of the focus | int |
Module Connections
Inputs
Name | Description |
---|---|
INPUT | The input input |
FOCUS | A 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
Name | Description |
---|---|
OUTPUT | The 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