ROTATION#

Classes#

class datasets.transforms.rotation.FixedRotation(seed, deg_min=0, deg_max=180)[source]#

Bases: object

Defines a fixed rotation for a numpy array.

class datasets.transforms.rotation.IncrementalRotation(init_deg=0, increase_per_iteration=0.006)[source]#

Bases: object

Defines an incremental rotation for a numpy array.

set_iteration(x)[source]#

Set the iteration to a given integer

Parameters:

x (int) – iteration index

class datasets.transforms.rotation.Rotation(deg_min=0, deg_max=180)[source]#

Bases: object

Defines a fixed rotation for a numpy array.