lazyslide_models.tile_prediction.cv_features.Brightness

Contents

lazyslide_models.tile_prediction.cv_features.Brightness#

class Brightness#

Bases: _CVFeatures

brightness

Calculate the brightness of a tile.

The tile can be in shape (H, W, C) for a single image or (B, C, H, W) for a batch of images.