InputRawImage
This page describes a module in the upcoming version 1.2 of Ikaros and may not be correct for version 1.1
Module that sums its two inputs element by element, which can be one or two dimensional. Both inputs must have the same size.
Example XML definition
Read a single file once
<module
class = "InputRawImage"
name = "IN"
size_x = "128"
size_y = "128"
filename = "image.raw"
/>
Read a sequence of three files ten times (e. g. image00.raw, image01.raw, image02.raw)
<module
class = "InputRawImage"
name = "IN"
size_x = "128"
size_y = "128"
filename = "image%02d.raw"
filecount = "3"
iterations = "10"
/>
Parameters
| Name | Description | Type | Default |
|---|---|---|---|
| class | The class name for the module; must be "InputRawImage". | string | |
| name | The name of this instance of the module. | string | |
| size_x | Size of the image file | int | |
| size_y | Size of the image file | int | |
| filename | File to read from. If a sequence will be produced %d must be included in the name. It will be replaced with the sequence number of each file. Standard C formats can be used, e. g. %02d will insert the number with two figures and an initial '0'. | string | |
| filecount | Number of files to read | int | 1 |
| iterations | No of times to read the images | int | inf |
| repeats | int | 1 |
Module Connections
Outputs
| Name | Description |
|---|---|
| OUTPUT | The image. |
Author
Christian Balkenius
christian.balkenius@lucs.lu.se
Lund University Cognitive Science
Files
InputRawImage.h
InputRawImage.cc
InputRawImage.ikc