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[floating[Any]]
Source code in siapy/transformations/image.py
21 22 23 24 25 26 27 28 29 30 31 32 33 |
|
random_crop
¶
random_crop(
image: ImageType, output_size: ImageSizeType
) -> NDArray[floating[Any]]
Source code in siapy/transformations/image.py
36 37 38 39 40 41 42 43 |
|
random_mirror
¶
Source code in siapy/transformations/image.py
46 47 48 49 50 51 |
|
random_rotation
¶
Source code in siapy/transformations/image.py
54 55 56 57 |
|
rescale
¶
rescale(
image: ImageType, output_size: ImageSizeType
) -> NDArray[floating[Any]]
Source code in siapy/transformations/image.py
60 61 62 63 64 |
|
area_normalization
¶
Source code in siapy/transformations/image.py
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
|