META namespace

Symbols grouped by the META namespace.

Symbols in this namespace: 8

SymbolKindCategoryDescription
META.CLEARFunctionMetadata functionsClears all user metadata, or only the selected key when key is provided.
META.FROM_TEXTFunctionMetadata functionsApplies cvBasic sidecar text back to an existing image or stack object and returns it.
META.GETFunctionMetadata functionsReturns user metadata as readable key=value lines.
META.HASFunctionMetadata functionsReturns TRUE when a metadata key exists on the image or stack.
META.KEYSFunctionMetadata functionsReturns all user metadata keys as newline-separated text.
META.SETFunctionMetadata functionsStores a user key/value metadata pair directly in an image or stack object and returns the same object.
META.TO_TEXTFunctionMetadata functionsSerializes image dimensions, ROI state and user metadata into cvBasic sidecar text.
META.VALUEFunctionMetadata functionsReturns the metadata value for key, or fallback when the key is absent.

META.CLEAR

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.CLEAR(image[,key])

Clears all user metadata, or only the selected key when key is provided.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
keyOptional parameter. If omitted, the command uses its internal default.

Minimal example

value = META.CLEAR(image[,key])

META.FROM_TEXT

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.FROM_TEXT(image,text)

Applies cvBasic sidecar text back to an existing image or stack object and returns it.

Minimal example

value = META.FROM_TEXT(image,text)

META.GET

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.GET(image)

Returns user metadata as readable key=value lines.

Minimal example

value = META.GET(image)

META.HAS

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.HAS(image,key)

Returns TRUE when a metadata key exists on the image or stack.

Minimal example

value = META.HAS(image,key)

META.KEYS

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.KEYS(image)

Returns all user metadata keys as newline-separated text.

Minimal example

value = META.KEYS(image)

META.SET

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.SET(image,key,value)

Stores a user key/value metadata pair directly in an image or stack object and returns the same object.

Minimal example

img = META.SET(img, "author", "cvBasic")

META.TO_TEXT

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.TO_TEXT(image)

Serializes image dimensions, ROI state and user metadata into cvBasic sidecar text.

Minimal example

value = META.TO_TEXT(image)

META.VALUE

FUNCTIONMETABATCH-FRIENDLY
Kind: Function   Category: Metadata functions   Namespace: META

META.VALUE(image,key[,fallback])

Returns the metadata value for key, or fallback when the key is absent.

Optional parameters

Parameters enclosed in [...] may be omitted. Nested brackets mean that the later parameter is available only when the previous optional level is also supplied.

ParameterMeaning
fallbackOptional parameter. If omitted, the command uses its internal default.

Minimal example

author = META.VALUE(img, "author", "unknown")