morphoclass.transforms.augmentors.add_random_points_to_reduction_mask module

Implementation of the AddRandomPointsToReductionMask transform.

class morphoclass.transforms.augmentors.add_random_points_to_reduction_mask.AddRandomPointsToReductionMask(n_points)

Bases: object

A Transform that adds a fixed number of random points to the apical mask.

Parameters

n_points (int) – The number of random points to add to the apical mask.