aharmer / pathtrackr

An R package for video tracking and analysing animal movement
29 stars 8 forks source link

Change method for dealing with occlusion from missing data to last known coordinates #30

Open LynnaKiere opened 4 years ago

LynnaKiere commented 4 years ago

Hello and thanks for this great package! I am hoping to use it to analyze exploratory behavior in birds. The issue that I am running into is that in some of my videos there is a (bird-sized) corner or edge of the arena that is not visible to the camera. Whenever a bird leaves the frame, it re-enters from the same position, so it is safe to assume that it was in that corner the whole time it was occluded. It would therefore be closer to reality to assign the bird's coordinates during occlusion to its last known coordinates than to exclude that time from consideration. Any suggestion on how I might change the way that the package deals with occlusion to assuming last known coordinates until the animal re-appears?