XY Random Rotate90
Patch transform applying XY random 90 degrees rotations.
XYRandomRotate90
Bases: Transform
Applies random 90 degree rotations to the YX axis.
This transform expects C(Z)YX dimensions.
Attributes:
| Name | Type | Description |
|---|---|---|
rng |
Generator
|
Random number generator. |
p |
float
|
Probability of applying the transform. |
seed |
Optional[int]
|
Random seed. |
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
p
|
float
|
Probability of applying the transform, by default 0.5. |
0.5
|
seed
|
Optional[int]
|
Random seed, by default None. |
None
|