processing.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:opensat 作者: yarynam 项目源码 文件源码
def _rescale(self, bands):
        """ Rescale bands """
        # self.output("Rescaling", normal=True, arrow=True)

        for key, band in enumerate(bands):
            print "processing"
            # self.output("band %s" % self.bands[key], normal=True, color='green', indent=1)
            bands[key] = sktransform.rescale(band, 2)
            bands[key] = (bands[key] * 65535).astype('uint16')

        return bands
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号