Image
siapy.transformations.image
¶
add_gaussian_noise
¶
add_gaussian_noise(image: ImageType, mean: float = 0.0, std: float = 1.0, clip_to_max: bool = True) -> ndarray
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
mean |
TYPE:
|
std |
TYPE:
|
clip_to_max |
TYPE:
|
Source code in siapy/transformations/image.py
20 21 22 23 24 25 26 27 28 29 30 31 32 |
|
random_crop
¶
random_crop(image: ImageType, output_size: ImageSizeType) -> ndarray
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
output_size |
TYPE:
|
Source code in siapy/transformations/image.py
35 36 37 38 39 40 41 42 |
|
random_mirror
¶
random_mirror(image: ImageType) -> ndarray
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
Source code in siapy/transformations/image.py
45 46 47 48 49 50 |
|
random_rotation
¶
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
angle |
TYPE:
|
Source code in siapy/transformations/image.py
53 54 55 56 |
|
rescale
¶
rescale(image: ImageType, output_size: ImageSizeType) -> ndarray
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
output_size |
TYPE:
|
Source code in siapy/transformations/image.py
59 60 61 62 63 |
|
area_normalization
¶
area_normalization(image: ImageType) -> ndarray
PARAMETER | DESCRIPTION |
---|---|
image |
TYPE:
|
Source code in siapy/transformations/image.py
66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 |
|