- image
(required) image data. Either a single image array, or a number of images
stored in a list. Preferably the result of getimg()
.
- resize
an integer specifying a percentage for resizing images, if so desired.
E.g. 50 to half the size of an image, 200 to double it.
- rotate
an integer specifying the angle of image rotation, in degrees. Images
are rotated around the centre, and linearly interpolated.
- scaledist
an integer, or numeric vector equal in length to the number of images,
specifying the length of the scale in the image(s). Image(s) will then be presented,
and the user asked to select either end of the scale corresponding to the input value.
- outline
interactively specify the focal object in
an image by clicking around its outline. The xy-coordinates of the resulting
closed polygon are saved as an attribute, for use in generating a masking layer &
separating animals/plants from backgrounds in further analyses. This is particularly
useful when backgrounds are complex, such as in natural settings.
- reclass
interactively specify an area on a colour-classified image that is
to be reclassified as the numeric value provided. e.g. when reclass = 1
, the user
will be asked to select a polygon on the image, within which all colour-category values will be
changes to 1
.
- smooth
should the polygon specified when outline = TRUE
be smoothed
using Chaikin's corner-cuting algorithm? Defaults to FALSE
.
- iterations
the number of smoothing iterations, when smooth = TRUE
.
Defaults to 1
.
- col
the color of the marker points and/or line, when using interactive options.
- obj_dist, obj_width, eye_res
blur the image to model the visual acuity of non-human animals
as per Caves & Johnsen (2018)'s AcuityView 2.0 algorithm. The procedure requires three arguments;
obj_dist is the real-world distance between the viewer and the focal object in the image in the image,
obj_width is the real-world width of the entire image; eye_res is the minimum resolvable angle of the viewer
in degrees. All three arguments are numeric, and any units of measurement are suitable for
obj_dist and obj_width, but they must match. Note that this is the more flexible v2.0 implementation meaning
that any rectangular image is suitable; it need not be square with dimensions a power of 2.
If using this capability, please cite Caves & Johnsen (2018), as per the included reference,
and see note below.
- plotnew
should plots be opened in a new window? Defaults to FALSE
.
- ...
additional graphical parameters. Also see par()
.