Module ImportFrom alias alias alias Import alias alias Import alias Import alias TryExcept body Assign NameStore TupleLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore TupleLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num handlers ExceptHandler body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad Str
N/A __future__ absolute_import print_function division N/A sys timeit N/A numpy N/A scikits.image.opencv N/A N/A N/A img_shape N/A N/A int N/A N/A sys argv N/A 1 N/A int N/A N/A sys argv N/A 2 N/A ker_shape N/A N/A int N/A N/A sys argv N/A 3 N/A int N/A N/A sys argv N/A 4 N/A dtype N/A N/A sys argv N/A 5 N/A N/A N/A N/A N/A print N/A Usage: %s <img rows> <img cols> <ker rows> <ker cols> <dtype> [nb_call] N/A N/A sys argv N/A 0 file N/A sys stderr N/A N/A N/A sys exit -1 N/A nb_call 1 N/A N/A N/A len N/A sys argv 6 N/A N/A nb_call N/A int N/A N/A sys argv N/A 6 N/A T N/A N/A timeit Timer f() 
import scikits.image.opencv, sys, numpy
img_shape =  int(sys.argv[1]), int(sys.argv[2])
ker_shape =  int(sys.argv[3]), int(sys.argv[4])
dtype = sys.argv[5]

img = numpy.ones(img_shape, dtype=dtype)
ker = numpy.ones(ker_shape, dtype=dtype)

def f():
    scikits.image.opencv.cvFilter2D(img, ker)
 N/A time N/A N/A T repeat repeat 3 number nb_call N/A N/A print N/A min time opencv