lazyslide.models.tile_prediction.SplitRGB

Contents

lazyslide.models.tile_prediction.SplitRGB#

class SplitRGB(method='mean')#

Bases: _CVFeatures

Calculate the RGB value of a tile.

Brightness is calculated as the mean of the pixel values.

Parameters:
methodstr

Method to calculate the RGB value. Default is “mean”.

dimstr

Dimension of the image. Default is “xyc”.