Create a structure containing the required fields for the informations of a metadata.
- Syntax:
info = btkMetaDataInfo(format, values)
info = btkMetaDataInfo(format, values, numdims)
- Parameters
-
format | String with the type of data. |
values | data to store in the metadata. |
numdims | integer for the number of dimensions. |
- Return values
-
info | Structure with the following fields:
info.format: String with the format of the information (Char, Byte, Integer or Real).
info.values: Matrix of numerical values or a cell of strings.
- The array is used for information with the format Byte, Integer or Real.
- The cell of strings is only use for information with the format Char.
info.numdims: Desired number of dimension. All the dimension missing in the value are set to 1. Note: The maximum number of dimensions is set to 7.
|
- Detailed description:
- This function simplify the construction of the information used in btkAppendMetaData.
- See Also
- btkAppendMetaData