Mercurial > hg > pymctf
changeset 1:b67c5ec1a9f0
import only needed modules
author | Peter Meerwald <pmeerw@cosy.sbg.ac.at> |
---|---|
date | Thu, 06 Sep 2007 14:15:54 +0200 |
parents | 4214d9245f8e |
children | f22cbbbb6814 |
files | pymctf.py |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/pymctf.py Thu Sep 06 13:45:48 2007 +0200 +++ b/pymctf.py Thu Sep 06 14:15:54 2007 +0200 @@ -1,12 +1,9 @@ # MCTF following Ohm04a -import Image -import ImageDraw import pywt import numpy import math import sys -import time import _me # type of motion vectors @@ -141,6 +138,7 @@ return a, b def _show_mv_dist(mvf, idx=0, level=0, sr=8, fname='mv_dist'): + import Image, ImageDraw im = Image.new('RGB', (mvf.shape[1], mvf.shape[0])) d = ImageDraw.Draw(im)