具体data augmentation操作
-
ShearX(Y)
Shear the image along the horizontal (vertical) axis with rate magnitude.
-
TranslateX(Y)
Translate the image in the horizontal (vertical) direction by magnitude number of pixels.
-
Rotate
Rotate the image magnitude degrees.
-
AutoContrast
Maximize the the image contrast, by making the darkest pixel black and lightest pixel white.
函数计算输入图像的直方图,将暗部cutoff变成0,亮部变成255
-
Invert
Invert the pixels of the image.
-
Equalize
Equalize the image histogram.
图像的直方图均衡
-
Solarize 曝光
Invert all pixels above a threshold value of magnitude.(将高于threshold的值取反)
对于图像中的每个像素,如果该值小于阈值,则选择该像素。 否则,从像素中减去255
-
Posterize
Reduce the number of bits for each pixel to magnitude bits.
保留Image各通道像素点数值的高bits位
-
Contrast