lazyslide_models.tile_prediction.cv_features.SplitRGB#
- class SplitRGB(method='mean')#
Bases:
_CVFeaturessplit_rgb
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”.