lazyslide_models.tile_prediction.cv_features.SplitRGB#
- class SplitRGB(method='mean')#
Bases:
_CVFeaturessplit_rgb Mean red, green and blue intensity of a tile
Calculate the red, green and blue intensity of a tile, on a 0-255 scale.
- Parameters:
- methodstr
Name of the NumPy reduction applied to each channel, e.g.
"mean","median"or"std". Default is"mean".
- columns = ('red', 'green', 'blue')#
Subclasses whose
_funcreturns a dict set this explicitly; for the rest it is derived below from the class name, which is the same rule_process_batchuses to key its result.