在使用tf.image进行图像加强时,咱们先介绍该模块中的一个类。python
地址:https://tensorflow.google.cn/api_docs/python/tf/image/ResizeMethod#class_resizemethodapi
该类主要是用于选择调整图像大小的,其类成员有:google
AREA = 'area'
spa
BICUBIC = 'bicubic'
rest
BILINEAR = 'bilinear'
code
GAUSSIAN = 'gaussian'
blog
LANCZOS3 = 'lanczos3'
get
LANCZOS5 = 'lanczos5'
it
MITCHELLCUBIC = 'mitchellcubic'
class
NEAREST_NEIGHBOR = 'nearest'
地址:https://tensorflow.google.cn/api_docs/python/tf/image/rot90
tf.image.rot90( image, k=1, name=None )
待续。。。