dataeval.metrics.stats.PixelStatsOutput

class dataeval.metrics.stats.PixelStatsOutput

Output class for pixelstats() stats metric.

mean

Mean of the pixel values of the images

Type:

NDArray[np.float16]

std

Standard deviation of the pixel values of the images

Type:

NDArray[np.float16]

var

Variance of the pixel values of the images

Type:

NDArray[np.float16]

skew

Skew of the pixel values of the images

Type:

NDArray[np.float16]

kurtosis

Kurtosis of the pixel values of the images

Type:

NDArray[np.float16]

histogram

Histogram of the pixel values of the images across 256 bins scaled between 0 and 1

Type:

NDArray[np.uint32]

entropy

Entropy of the pixel values of the images

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]

meta()

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

Return type:

ExecutionMetadata