首页 > 其他 > 详细

tensorflow 利用模块tf.image进行图像增强

时间:2019-10-31 23:01:56      阅读:172      评论:0      收藏:0      [点我收藏+]

在使用tf.image进行图像增强时,我们先介绍该模块中的一个类。

1 tf.image.ResizeMethod

地址:https://tensorflow.google.cn/api_docs/python/tf/image/ResizeMethod#class_resizemethod

该类主要是用于选择调整图像大小的,其类成员有:

  • AREA = ‘area‘

  • BICUBIC = ‘bicubic‘

  • BILINEAR = ‘bilinear‘

  • GAUSSIAN = ‘gaussian‘

  • LANCZOS3 = ‘lanczos3‘

  • LANCZOS5 = ‘lanczos5‘

  • MITCHELLCUBIC = ‘mitchellcubic‘

  • NEAREST_NEIGHBOR = ‘nearest‘

2 tf.image.rot90

地址:https://tensorflow.google.cn/api_docs/python/tf/image/rot90

tf.image.rot90(
    image,
    k=1,
    name=None
)

待续。。。

 

tensorflow 利用模块tf.image进行图像增强

原文:https://www.cnblogs.com/gengyi/p/11774117.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!