tumourkit.segmentation.hovernet.dataloader.augs

Functions

add_to_brightness

Perturbe the brightness of input images.

add_to_contrast

Perturbe the contrast of input images.

add_to_hue

Perturbe the hue of input images.

add_to_saturation

Perturbe the saturation of input images.

fix_mirror_padding

Deal with duplicated instances due to mirroring in interpolation during shape augmentation (scale, rotation etc.).

gaussian_blur

Apply Gaussian blur to input images.

median_blur

Apply median blur to input images.