| Home | | | Quick start | | | Cookbook | | | All symbols | | | Analytical index | | | Namespaces | | | Syntax | | | Statements | | | CX | | | Frequency | | | Functions | | | Examples | | | Examples by command |
Symbols grouped by the META namespace.
Symbols in this namespace: 8
| Symbol | Kind | Category | Description |
|---|---|---|---|
META.CLEAR | Function | Metadata functions | Clears all user metadata, or only the selected key when key is provided. |
META.FROM_TEXT | Function | Metadata functions | Applies cvBasic sidecar text back to an existing image or stack object and returns it. |
META.GET | Function | Metadata functions | Returns user metadata as readable key=value lines. |
META.HAS | Function | Metadata functions | Returns TRUE when a metadata key exists on the image or stack. |
META.KEYS | Function | Metadata functions | Returns all user metadata keys as newline-separated text. |
META.SET | Function | Metadata functions | Stores a user key/value metadata pair directly in an image or stack object and returns the same object. |
META.TO_TEXT | Function | Metadata functions | Serializes image dimensions, ROI state and user metadata into cvBasic sidecar text. |
META.VALUE | Function | Metadata functions | Returns the metadata value for key, or fallback when the key is absent. |
META.CLEAR(image[,key])
Clears all user metadata, or only the selected key when key is provided.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
key | Optional parameter. If omitted, the command uses its internal default. |
value = META.CLEAR(image[,key])META.FROM_TEXT(image,text)
Applies cvBasic sidecar text back to an existing image or stack object and returns it.
value = META.FROM_TEXT(image,text)META.GET(image)
Returns user metadata as readable key=value lines.
value = META.GET(image)META.HAS(image,key)
Returns TRUE when a metadata key exists on the image or stack.
value = META.HAS(image,key)META.KEYS(image)
Returns all user metadata keys as newline-separated text.
value = META.KEYS(image)META.SET(image,key,value)
Stores a user key/value metadata pair directly in an image or stack object and returns the same object.
img = META.SET(img, "author", "cvBasic")META.TO_TEXT(image)
Serializes image dimensions, ROI state and user metadata into cvBasic sidecar text.
value = META.TO_TEXT(image)META.VALUE(image,key[,fallback])
Returns the metadata value for key, or fallback when the key is absent.
Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.
| Parameter | Meaning |
|---|---|
fallback | Optional parameter. If omitted, the command uses its internal default. |
author = META.VALUE(img, "author", "unknown")