Transformations¶
The transformations included in the library are:
- hflip: horizontal flipping the image
- vflip: vertical flipping the image
- Affine:carry out the transformation expressed in the operation matrix
- Rotate:rotate the image by the indicated degrees counterclockwise
- Shear: linear map that displaces each point in fixed direction, by an amount proportional to its signed distance from the line that is parallel to that direction and goes through the origin
- Scale: scale the image by making it smaller or larger (crop equivalent)
- Translate: moves the image pixels to the positions indicated on each axis
- Change gamma: adjust image’s gamma (luminance correction) .
- Change contrast:: change the image contrast.
- Change brightness: change the image brightness
- Equalize histogram: equalize the image histogram
12. Inject gaussian noise: gaussian noise is a statistical noise having a probability density function (PDF) equal to that of the normal distribution
- Inject salt and pepper noise: salt-and-pepper noise is a statistical noise compose of white (salt) and black (pepper) pixels
14. Inject spekle noise: Speckle is a granular interference that inherently exists in and degrades the quality of the active radar, synthetic aperture radar (SAR), medical ultrasound and optical coherence tomography images. It is applied by adding the image multiplied by the noise matrix -> img + img * uniform_noise
- Inject poisson noise: It is applied by adding Poisson-distributed noise
- Blur: blur image.
- Gaussian blur: blurring an image by a Gaussian function.