DSMOOTH - Filtering video-tracked animal paths in orientation research

Post-processes animal paths by removing tracking gaps and pauses, smoothing and downsampling.


Updated 31 Aug 2016

View License

dsmooth is a Matlab function for post-processing of video-tracked animal paths, mainly for use in orientation research. The main purpose is to remove tracking errors and small animal movements that are of no importance to the studied behaviour. To achieve this, the function first tries to remove tracking gaps and pauses in the animal track. The path is then smoothed to reduce tracking errors. Finally, the path is downsampled to a minimum segment length between consecutive points of the path, in order to make the paths (and in particular their lengths / tortuosities) comparable across animals moving at different speeds, animals of different species, and different tracking frequencies. The function was originally developed to study the orientation behaviour of ball-rolling dung beetles (Smolka et al., 2016).

Cite As

Jochen Smolka (2023). DSMOOTH - Filtering video-tracked animal paths in orientation research (https://www.mathworks.com/matlabcentral/fileexchange/58825-dsmooth-filtering-video-tracked-animal-paths-in-orientation-research), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Animation in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Fixed a bug preventing minimum segment length filtering from working properly.