示例#1
0
文件: lsm.py 项目: manerotoni/afw
 def get_image(self, *args, **kw):
     image = Lsmimage.get_image(self, *args, **kw)
     # pylsm does not get the strides right
     byteoffset = self.bitdepth/8
     image.strides =  (byteoffset, image.shape[0]*byteoffset)
     return image.swapaxes(0, 1)
示例#2
0
文件: lsm.py 项目: manerotoni/afw
 def get_image(self, *args, **kw):
     image = Lsmimage.get_image(self, *args, **kw)
     # pylsm does not get the strides right
     byteoffset = self.bitdepth / 8
     image.strides = (byteoffset, image.shape[0] * byteoffset)
     return image.swapaxes(0, 1)
示例#3
0
文件: lsm.py 项目: manerotoni/afw
 def __init__(self, *args, **kw):
     Lsmimage.__init__(self, *args, **kw)
     self.open()
示例#4
0
文件: lsm.py 项目: manerotoni/afw
 def __init__(self, *args, **kw):
     Lsmimage.__init__(self, *args, **kw)
     self.open()