plot
methods for class 'TrDm'.plot
methods for class 'TrDm'.
# S3 method for TrDm
plot(
x,
frame = 1,
type = NULL,
incThres = NULL,
colorimages = NULL,
cl = 1,
path = NULL,
name = "animation",
libavpath = NULL,
...
)
An object of class 'TrDm'.
Choose which frame to be plotted. By default, frame=1
.
Only for 'tracked' objects. By default, both trajectories and
size distribution are plotted. Choose
'trajectories'
to plot only trajectories on the original color image.
Choose 'sizes'
to only plot the particle size distribution. Choose 'animation'
to
create an .mp4 animation.
Here, images are temporarily saved in path
. Set name of file with
argument name
.
Minimum length of tracked segments for particles to be included. By default an automated threshold is calculated. Only for 'tracked' objects.
Original color images. By default, original color images are obtained from the global environment.
When plotting a subtracted background image, choose which color layer
is plotted. By default, cl=1
.
When creating an animation, choose directory in which images are saved temporarily, and where the animation should be saved.
of animation; by default 'animation'
.
Path to location where the executable file for libav
can be found (named 'avconv.exe'), in case it is not found automatically,
e.g. 'C:/Users/libav/usr/bin/avconv.exe'
. Only required when creating
an animation.
further arguments passed to plotRGB
Marjolein Bruijning, Caspar A. Hallmann & Marco D. Visser