heatmap - Convolve a sector along a trajectory to make a heat map in python -


i have built vr arena fly. inside vr world, fly flies has objects in it. vr world built using panda 3d game engine. record trajectory of fly. obtain position (x,y) , heading (theta) function of time.

briefly, trying is, heatmap of fly saw flew. heatmap representation of world intensities corresponding how visible fly. more fly stared @ particular place flying towards it, hotter regions get. trajectory plot explains path if fly point. doesn't convey fly saw flew. fly sees virtual world based on vr camera parameters. has field of view (fov), max draw distance , orientation (heading). traverses through world, sees sector (pie shaped wedge) of entire world.

what want implement method keep count of how many frames each point on map came inside camera's fov (the sector).

this naively results in sector traversing along trajectory , incrementing counter @ points inside sector. after entire traversal, need plot matrix heatmap. think fair representation of fly saw in it's trajectory.

conceptually, task doable multiple loops. not sure how go implementing vectorized form can happen in lifetime. using python


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -