Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 def __init__(self, *args, **kw):
     Lsmimage.__init__(self, *args, **kw)
     self.open()
Esempio n. 4
0
 def __init__(self, *args, **kw):
     Lsmimage.__init__(self, *args, **kw)
     self.open()