anatools.anaclient.image module¶
Image Functions
- get_image_annotation(self, datasetId, filename, workspaceId=None, fields=None)¶
Retrieves the annotation for an image.
- Parameters
workspaceId (str) – Workspace ID containing the image. If not specified then the current workspace is used.
datasetId (str) – Dataset ID containing the image
filename – Name of the image file the annotation is for
- Returns
Annotation information for the specified image.
- Return type
dict
- get_image_mask(self, datasetId, filename, workspaceId=None, fields=None)¶
Retrieves the mask for an image.
- Parameters
workspaceId (str) – Workspace ID containing the image. If not specified then the default workspace is used.
datasetId (str) – Dataset ID containing the image
filename – Name of the image file the mask is for
- Returns
Mask information for the specified image.
- Return type
dict
- get_image_metadata(self, datasetId, filename, workspaceId=None, fields=None)¶
Retrieves the metadata for an image.
- Parameters
workspaceId (str) – Workspace ID containing the image. If not specified then the default workspace is used.
datasetId (str) – Dataset ID containing the image
filename – Name of the image file the metadata is for
- Returns
Metadata information for the specified image.
- Return type
dict