monai.deploy.core.domain.Image

class monai.deploy.core.domain.Image(data, metadata=None)[source]

Bases: monai.deploy.core.domain.domain.Domain

Initialize a Domain object.

Parameters

metadata (Optional[Dict]) – A metadata.

Methods

__init__(data[, metadata])

Initialize a Domain object.

asnumpy()

rtype

Union[_SupportsArray[~_DType], Sequence[_SupportsArray[~_DType]], Sequence[Sequence[_SupportsArray[~_DType]]], Sequence[Sequence[Sequence[_SupportsArray[~_DType]]]], Sequence[Sequence[Sequence[Sequence[_SupportsArray[~_DType]]]]], ~_T, Sequence[~_T], Sequence[Sequence[~_T]], Sequence[Sequence[Sequence[~_T]]], Sequence[Sequence[Sequence[Sequence[~_T]]]]]

metadata()

rtype

Dict