dataeval.outputs.DimensionStatsOutput

class dataeval.outputs.DimensionStatsOutput

Output class for dimensionstats() stats metric.

left

Offsets from the left edge of images in pixels

Type:

NDArray[np.int32]

top

Offsets from the top edge of images in pixels

Type:

NDArray[np.int32]

width

Width of the images in pixels

Type:

NDArray[np.uint32]

height

Height of the images in pixels

Type:

NDArray[np.uint32]

channels

Channel count of the images in pixels

Type:

NDArray[np.uint8]

size

Size of the images in pixels

Type:

NDArray[np.uint32]

aspect_ratio

ASspect Ratio of the images (width/height)

Type:

NDArray[np.float16]

depth

Color depth of the images in bits

Type:

NDArray[np.uint8]

center

Offset from center in [x,y] coordinates of the images in pixels

Type:

NDArray[np.uint16]

distance

Distance in pixels from center

Type:

NDArray[np.float16]

get_channel_mask(channel_index, channel_count=None)

Boolean mask for results filtered to specified channel index and optionally the count of the channels per image.

Parameters:
channel_index : int | Iterable[int] | None

Index or indices of channel(s) to filter for

channel_count : int | Iterable[int] | None

Optional count(s) of channels to filter for

Return type:

list[bool]

property meta : ExecutionMetadata

Metadata about the execution of the function or method for the Output class.

Return type:

ExecutionMetadata