Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit 1f2ffa2

Browse files
committed
fixes #194
1 parent bf0abcc commit 1f2ffa2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

doc/source/config_spec.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ Value should be in `[0, 1]`.
557557
Name | Type | Example | Default
558558
---- | ---- | ------- | -------
559559
[rotation_angle](#rotation-angle) | `float array` | `rotation_angle=-10.0,10.0` | `''`
560-
[scaling_percentage](#scaling-percentage) | `float array` | `scaling_percentage=0.8,1.2` | `''`
560+
[scaling_percentage](#scaling-percentage) | `float array` | `scaling_percentage=-20.0,20.0` | `''`
561561
[random_flipping_axes](#random-flipping-axes) | `integer array` | `random_flipping_axes=1,2` | `-1`
562562

563563
###### `rotation_angle`
@@ -567,6 +567,10 @@ volumes (This can be slow depending on the input volume dimensionality).
567567
###### `scaling_percentage`
568568
Float array indicates a random spatial scaling should be applied
569569
(This can be slow depending on the input volume dimensionality).
570+
The option accepts percentages relative to 100 (the original input size).
571+
E.g, `(-50, 50)` indicates transforming
572+
image (size `d`) to image with its size in between `0.5*d` and `1.5d`.
573+
570574

571575
###### `random_flipping_axes`
572576
The axes which can be flipped to augment the data.

0 commit comments

Comments
 (0)