Jack Jansen | d35509a | 2000-09-22 12:46:19 +0000 | [diff] [blame] | 1 | ExtPixMapWrapper.py |
| 2 | ImageMac.py |
| 3 | Hello these are the classes to deal with Images and NumPy arrays I told |
| 4 | you about. I left everything unchanged, it is the same copy I use with |
| 5 | comments added. However I think that in ImageMac the only part worth including |
| 6 | in MacPython (if you think it is worth), is the first half, until GimmeImage. |
| 7 | After that it is almost rubbish I used in my CV experiments. |
| 8 | |
| 9 | MovieUtils.py |
| 10 | This is another class I use. IT contais a lot of my experiments (unuseful), but |
| 11 | the first function GetFrames(). it is almost the translation of a QT sample. |
| 12 | GetMovieFromOpenFile() it is the usual shortcut to get a movie. (no error tracking |
| 13 | done). |
| 14 | The class ExtMovie requires a movie in the constructor and then |
| 15 | provides a method to take every single frame and convert it to an |
| 16 | Image or a NUmPy array. |
| 17 | If you think that it can be included in the qt examples I'll write comments and |
| 18 | polish it a bit. (exceptions handling) |
| 19 | |
| 20 | Riccardo Trocca |
| 21 | |
| 22 | P.S. Everything works with 2.0b1 |