Module ImportFrom alias Import alias Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body If NameLoad body Import alias identifier Expr Call AttributeLoad NameLoad attr Import alias identifier Import alias identifier ImportFrom alias alias Assign NameStore Call NameLoad ImportFrom alias Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr ListLoad Num Num Num keyword Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice Index Num Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr BinOpAdd BinOpMult AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad Num Num Num NameLoad orelse Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad Num Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Assign NameStore BinOpAdd BinOpMult NameLoad Num Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Call NameLoad NameLoad Assign TupleStore NameStore NameStore TupleLoad Num Num Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Num keyword Call AttributeLoad NameLoad attr Num keyword BinOpDiv Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Num keyword BinOpDiv Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad Num keyword Call AttributeLoad NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign AttributeStore NameLoad attr Dict Str Str Str Str Num Num NameLoad NameLoad Assign AttributeStore NameLoad attr BinOpAdd BinOpMult AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Slice Call AttributeLoad NameLoad attr ListLoad Num Num BinOpSub Num Num Assign SubscriptStore NameLoad Slice Call AttributeLoad NameLoad attr ListLoad Num Num BinOpAdd Num Num Assign NameStore AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr ImportFrom alias Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Lambda arguments args NameParam defaults NameLoad For NameStore ListLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Num Num Num orelse Assign NameStore ListLoad Num Num Num If NameLoad body Expr Call AttributeLoad NameLoad attr For NameStore Call NameLoad Num body Assign NameStore BinOpMult Call AttributeLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr BinOpDiv NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad BinOpSub AttributeLoad SubscriptLoad NameLoad Index NameLoad attr BinOpDiv NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore NameLoad Index NameLoad BinOpAdd AttributeLoad SubscriptLoad NameLoad Index NameLoad attr BinOpDiv NameLoad Num Assign NameStore Call NameLoad BinOpDiv BinOpMult BinOpSub NameLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Num Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad Num Num Num If NameLoad body Expr Call AttributeLoad NameLoad attr Num Num BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num BinOpAdd BinOpAdd Num NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Num BinOpAdd BinOpAdd Num NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr BinOpSub NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad Import alias Expr Call AttributeLoad NameLoad attr
N/A opendr.camera ProjectPoints N/A unittest N/A visualize False TestOcclusion N/A N/A unittest TestCase N/A test_occlusion N/A N/A self N/A N/A N/A visualize N/A N/A matplotlib.pyplot plt N/A N/A N/A plt ion N/A chumpy ch N/A numpy np opendr.renderer TexturedRenderer ColoredRenderer N/A rn N/A ColoredRenderer util_tests get_earthmesh N/A m N/A get_earthmesh trans N/A N/A ch array N/A 0 0 4 rotation N/A N/A ch zeros 3 N/A N/A rn texture_image N/A m texture_image N/A N/A rn ft N/A m ft N/A N/A rn vt N/A m vt N/A N/A N/A m v N/A N/A N/A 2 N/A N/A np mean N/A N/A m v N/A N/A N/A 2 N/A t0 N/A N/A ch array N/A 1 0 0.1 N/A t1 N/A N/A ch array N/A -1 0 0.1 N/A v0 N/A N/A N/A ch array N/A m v t0 N/A False N/A N/A v1 N/A N/A N/A ch array N/A N/A N/A m v 0.4 N/A N/A np array N/A 0 0 3.8 t1 N/A N/A v1 N/A N/A N/A ch array N/A m v t1 N/A vc0 N/A N/A v0 0 N/A N/A np array N/A N/A 0.4 0 0 N/A vc1 N/A N/A v1 0 N/A N/A np array N/A N/A 0 0.4 0 N/A vc N/A N/A ch vstack N/A vc0 vc1 N/A v N/A N/A ch vstack N/A v0 v1 N/A f N/A N/A np vstack N/A N/A m f N/A N/A m f N/A len v0 N/A N/A w h N/A 320 240 N/A N/A rn camera N/A ProjectPoints v v rt N/A N/A ch zeros 3 t N/A N/A ch zeros 3 f N/A N/A N/A ch array N/A w w 2.0 c N/A N/A N/A ch array N/A w h 2.0 k N/A N/A ch zeros 5 N/A N/A N/A rn camera t N/A N/A ch array N/A 0 0 -2.5 N/A N/A rn frustum N/A near far width height 1.0 10.0 w h N/A N/A m vc N/A N/A N/A v r 0 N/A N/A np array N/A N/A 1 0 0 N/A N/A N/A rn set v v f f vc vc N/A N/A t0 N/A N/A N/A np array N/A 1.4 0 N/A 0.1 0.02 N/A N/A t1 N/A N/A N/A np array N/A -0.6 0 N/A 0.1 0.02 N/A target N/A rn r N/A visualize N/A N/A N/A N/A plt figure N/A N/A N/A plt imshow target N/A N/A N/A plt title target N/A N/A N/A plt figure N/A N/A N/A plt show N/A im_orig N/A N/A N/A rn r copy cvwrap cv2 N/A tr t0 N/A eps_emp 0.02 N/A eps_pred 0.02 N/A blur N/A N/A N/A x N/A x N/A tr N/A t0 t1 N/A N/A N/A tr t0 N/A N/A sum_limits N/A N/A np array N/A 210.0 69.0 160.0 N/A N/A sum_limits N/A 1.0 5.0 4.0 N/A visualize N/A N/A N/A N/A plt figure N/A i N/A range 3 N/A N/A dr_pred N/A N/A N/A N/A N/A np array N/A N/A N/A N/A rn dr_wrt N/A tr N/A i todense reshape N/A rn shape eps_pred N/A dr_pred N/A blur dr_pred N/A N/A tr N/A i N/A N/A N/A tr N/A i r N/A eps_emp 2.0 N/A rn_greater N/A N/A N/A rn r copy N/A N/A tr N/A i N/A N/A N/A tr N/A i r N/A eps_emp 1.0 N/A rn_lesser N/A N/A N/A rn r copy N/A N/A tr N/A i N/A N/A N/A tr N/A i r N/A eps_emp 2.0 N/A dr_emp N/A blur N/A N/A N/A rn_greater rn_lesser eps_pred eps_emp N/A dr_pred_shown N/A N/A N/A np clip dr_pred -0.5 0.5 0.5 N/A dr_emp_shown N/A N/A N/A np clip dr_emp -0.5 0.5 0.5 N/A visualize N/A N/A N/A N/A plt subplot 3 3 N/A i 1 N/A N/A N/A plt imshow dr_pred_shown N/A N/A N/A plt title pred N/A N/A N/A plt axis off N/A N/A N/A plt subplot 3 3 N/A N/A 3 i 1 N/A N/A N/A plt imshow dr_emp_shown N/A N/A N/A plt title empirical N/A N/A N/A plt axis off N/A N/A N/A plt subplot 3 3 N/A N/A 6 i 1 N/A diff N/A N/A np abs N/A dr_emp dr_pred N/A visualize N/A N/A N/A N/A plt imshow diff N/A diff N/A N/A diff ravel N/A visualize N/A N/A N/A N/A plt title N/A diff (sum: %.2e) N/A N/A np sum diff N/A N/A N/A plt axis off N/A N/A N/A self assertTrue N/A N/A N/A np sum diff N/A sum_limits N/A i N/A N/A N/A N/A __name__ __main__ N/A N/A visualize True N/A suite N/A N/A N/A N/A unittest TestLoader loadTestsFromTestCase TestOcclusion N/A N/A N/A N/A N/A unittest TextTestRunner verbosity 2 run suite N/A pdb N/A N/A N/A pdb set_trace