Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #44452 > unrolled thread
| Started by | Radek Machulka <radek.machulka@gmail.com> |
|---|---|
| First post | 2013-04-27 13:46 +0200 |
| Last post | 2013-04-27 13:46 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
Shear image (numpy.ndarray) Radek Machulka <radek.machulka@gmail.com> - 2013-04-27 13:46 +0200
| From | Radek Machulka <radek.machulka@gmail.com> |
|---|---|
| Date | 2013-04-27 13:46 +0200 |
| Subject | Shear image (numpy.ndarray) |
| Message-ID | <mailman.1128.1367067249.3114.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
Hi, I am looking for some function that would shear my 2D numpy.ndarray array. Since the numpy (probably) does not provide such a functionality (numpy.roll does not do what I need), I hope the PIL might do the trick. Google give me page that says: 'This function (im.transform) can be used to scale, translate, rotate, and shear the original image.', however I was not able to get it work. So could anybody give me a hand how to use it (or how to shear the image in different way)? The input array is 2D (NxM) type numpy.float32. Thanks Radek
Back to top | Article view | comp.lang.python
csiph-web