Module Import alias identifier Import alias FunctionDef arguments args NameParam NameParam defaults Num body Expr Str ImportFrom alias ImportFrom alias Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num ListLoad Num Num Num ListLoad Num Num Num Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad Num BinOpAdd NameLoad Num AttributeLoad NameLoad attr Assign SubscriptStore NameLoad ExtSlice Slice Num BinOpAdd NameLoad Num Slice Num BinOpAdd NameLoad Num SubscriptLoad NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad Assign NameStore Num While NameLoad body Assign SubscriptStore NameLoad Slice SubscriptLoad NameLoad Slice For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad AugAssignSub NameStore NameLoad If Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad body Break AugAssignAdd NameStore Num If BoolOpAnd CompareGt NameLoad Num CompareEq NameLoad NameLoad body Break Assign SubscriptStore NameLoad ExtSlice Slice NameLoad NameLoad Slice NameLoad NameLoad SubscriptLoad NameLoad ExtSlice Slice Num BinOpAdd NameLoad Num Slice Num BinOpAdd NameLoad Num Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad Assign SubscriptStore NameLoad Slice Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Num Assert CompareEq Call AttributeLoad BinOpBitAnd NameLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num NameLoad Expr Yield TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Slice Num Num Num Expr Yield TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Slice Num Num Num Expr Yield TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Slice Num Num Slice Num Num Num Expr Yield TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad NameLoad Num Assert Call AttributeLoad NameLoad attr CompareEq NameLoad NameLoad decorator_list
N/A N/A numpy np N/A mahotas.thin slow_thin N/A N/A binimg n N/A -1 N/A N/A 
    This was the old implementation
     mahotas.bbox bbox mahotas._morph hitmiss N/A _struct_elems N/A N/A N/A N/A _struct_elems append N/A N/A 0 0 0 N/A 2 1 2 N/A 1 1 1 N/A N/A N/A _struct_elems append N/A N/A 2 0 0 N/A 1 1 0 N/A 1 1 2 N/A N/A N/A _struct_elems append N/A N/A 1 2 0 N/A 1 1 0 N/A 1 2 0 N/A N/A N/A _struct_elems append N/A N/A 1 1 2 N/A 1 1 0 N/A 2 0 0 N/A N/A N/A _struct_elems append N/A N/A 1 1 1 N/A 2 1 2 N/A 0 0 0 N/A N/A N/A _struct_elems append N/A N/A 2 1 1 N/A 0 1 1 N/A 0 0 2 N/A N/A N/A _struct_elems append N/A N/A 0 2 1 N/A 0 1 1 N/A 0 2 1 N/A N/A N/A _struct_elems append N/A N/A 0 0 2 N/A 0 1 1 N/A 2 1 1 N/A _struct_elems N/A N/A N/A np array elem N/A np uint8 N/A elem _struct_elems N/A res N/A N/A np zeros_like binimg N/A N/A min0 max0 min1 max1 N/A bbox binimg N/A N/A r c N/A N/A max0 min0 N/A max1 min1 N/A image_exp N/A N/A np zeros N/A N/A r 2 N/A c 2 N/A np uint8 N/A imagebuf N/A N/A np zeros N/A N/A r 2 N/A c 2 N/A np uint8 N/A prev N/A N/A np zeros N/A N/A r 2 N/A c 2 N/A np uint8 N/A N/A image_exp N/A N/A 1 N/A r 1 N/A 1 N/A c 1 N/A binimg N/A N/A min0 max0 N/A min1 max1 N/A n_iter 0 N/A True N/A N/A N/A prev N/A N/A image_exp N/A N/A elem _struct_elems N/A N/A newimg N/A hitmiss image_exp elem imagebuf N/A image_exp newimg N/A N/A N/A np all N/A prev image_exp N/A N/A N/A n_iter 1 N/A N/A N/A n 0 N/A n_iter n N/A N/A N/A N/A res N/A N/A min0 max0 N/A min1 max1 N/A image_exp N/A N/A 1 N/A r 1 N/A 1 N/A c 1 N/A res N/A test_thin N/A N/A N/A N/A N/A A N/A N/A np zeros N/A 100 100 bool N/A N/A A N/A 20 40 1 N/A W N/A N/A mahotas thin A N/A N/A N/A N/A N/A N/A mahotas erode W sum 0 N/A N/A N/A N/A N/A W A sum N/A N/A W sum N/A test_compare N/A N/A N/A N/A compare N/A N/A A N/A N/A N/A W N/A N/A mahotas thin A N/A W2 N/A slow_thin A N/A N/A N/A np all N/A W W2 N/A N/A A N/A N/A np zeros N/A 100 100 bool N/A N/A N/A compare A N/A N/A A N/A 20 40 1 N/A N/A N/A compare A N/A N/A A N/A N/A N/A 20 40 1 N/A N/A N/A compare A N/A N/A A N/A N/A 60 80 N/A 60 80 1 N/A N/A N/A compare A N/A W N/A N/A mahotas thin A 2 N/A W2 N/A slow_thin A 2 N/A N/A N/A np all N/A W W2 N/A