next up previous contents index
Next: File (external) types or Up: Introduction Previous: What you will find   Contents   Index

The MegaWave2 memory (internal) types

MegaWave2 objects such as images, movies, signals, curves, ..., are represented in the module code as pointers to a structure. The type of the structure defines the object you want to process, as struct fimage for an image of Floating points values (the pointer of this structure is of type Fimage).

Each structure has particular fields, as gray for a Fimage which represents the gray levels plane. They are described in the section presenting the structure (Section 2.3.1 page [*] for Fimage).

Some fields are common to most structures, they are:

You can of course access to any field in order to read its content. But be carefull when you want to overwrite the content of a field: some fields have to be updated by the system library only (e.g. the dimension fields nrow and ncol of image objects).

Some structures may contain undocumented fields: they are used internally by the system library and users should not access to them, especially for writing.

Some conversions between memory types are available as functions of the System Library, see Section 9.2 of this guide for a list of the most current conversion functions.


next up previous contents index
Next: File (external) types or Up: Introduction Previous: What you will find   Contents   Index
mw 2004-05-05