## Warning in register(): Can't find generic `scale_type` in package ggplot2 to
## register S3 method.
trackter is an R package for semiautomated tracking and analysis of 2D kinematics from video and image data. The core functions of trackter automatically detect a region of interest (ROI) and compute important kinematic and shape parameters based on the ROI’s contour. These functions use thresholding and segmentation to identify ROIs and, thus, moderately contrasted images are required. Presented below is some of trackter’s functionality in the context of fish locomotion.
Please report any bugs or performance issues.
For tutorial and tips on usage, please check out trackter’s github page
The release version of trackter can be installed with:
install.packages("trackter")
The current development version can be installed with:
require(devtools)
install_github("ckenaley/trackter")
require(trackter)
The core functions of trackter that extract shape and contour data
from images ( kin.simple
and kin.search
) depend upon EBImage,
available on the Bioconductor repository. The current build and
development versions of trackter install this dependency. If it does
not install, it can be done so easily with just a few lines of code:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("EBImage")
trackter also contains several functions for image and video
processing. These functions depend on the popular FFmpeg
package and
it must be installed if the user intends to use them. Installation is
platform-dependent. I found the FFmpeg
wiki installation and
compilation guide to be quite
useful.
Automated kinematic analysis
kin.search
, kin.simple
, kin.free
Tools for kinematic analysis of swimming animals
amp.freq
, halfwave
, wave
, and fin.kin
__Tools for image and video processing
Access FFmpeg
functionality, including filters and codecs, to
extract frames, stitch videos, and edit images and videos.
Relevant functions: images.to.videos
, vid.to.images
Other miscellaneous, low-level tools for kinematic analysis
dist.2d
, cosine.ang
, bearing.xy
, deg
,
rad
Please report issues here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.