Skip to content

Commit 9ee09b1

Browse files
authored
Update README.md
1 parent 84d1130 commit 9ee09b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A fast tool to do image augmentation by CUDA on GPU(especially elastic deform),
1212
- Very Fast, speed up 25x at rotation, 45x at elastic_deform.
1313
- Support many types of spatial deform: flip, rotate, scale, translate, elastic_deform.
1414
- Support many rules of map_coordinates: mirror, constant, reflect, wrap, nearest.
15-
- Doing Spation_Deform by doing calculates on coordinates, all transformations get combined before they are applied to the image
15+
- Doing Spatial_Deform by doing calculates on coordinates, all transformations get combined before they are applied to the image
1616
- Implement map_coordinates by linear interpolation.
1717
- Unit test pass when over 99% pixels has L1_loss < 1e-3.
1818
- Flexible with coordinates, users can fetch them form CUDA and do cubic interpolation at CPU by scipy.map_coordinates(order = 3)
@@ -44,7 +44,7 @@ cuda_handle = Cuda_Spatial_Deform(array_image.shape, mode="constant")
4444
'''
4545
Shape: cuda_backend will malloc according to shape
4646
RGB: bool (Only Support 2D-RGB)
47-
mode: The rules of map_coordinates. Refernce to https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.map_coordinates.html
47+
mode: The rules of map_coordinates. Reference to https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.map_coordinates.html
4848
cval: default is 0.0. Only be useful when mode == 'constant'
4949
id_gpu: choose the number of GPU
5050
'''

0 commit comments

Comments
 (0)