tensorflow中图像处理常用函数

1. tf.image.per_image_standardization

对图像进行白化操作

2. tf.image.random_flip_left_right

随机水平翻转图像

3. tf.random_crop(value, size, seed=None, name=None)

随机裁剪tensor到指定大小

4. tf.image.resize_image_with_crop_or_pad(image, target_height, target_width)

裁剪或者padding变成指定大小


猜你喜欢

转载自blog.csdn.net/qq_31761357/article/details/80274630