Usage
digitizeImage(image.file, landmarks.file=NULL, control.points.file=NULL,
curve.points.file=NULL, landmarks.ref=NULL, curves.ref=NULL,
auto.advance=TRUE, landmark.color.blur = 'blue',
landmark.color.focus = 'green', curve.color.blur = 'purple',
control.point.color.blur = 'purple', control.point.color.focus = 'red',
landmark.radius = 4, control.point.radius = 4,
marker.stroke.width = 1)Arguments
image.file
a file path to the image or images to be digitized. This can be a folder containing one or more images or a vector of file paths of one or more images.
landmarks.file
a file path indicating where the landmarks should be loaded from and/or saved to. If landmark.file is a folder, then landmark files are assumed to have the same name as the images (with a .txt extension). Alternatively, this can be a vector o
control.points.file
a file path indicating where the Bezier control points should be loaded from and/or saved to. If control.points.file is a folder, then control point files are assumed to have the same name as the images (with a .txt extension). Alternatively,
curve.points.file
a file path indicating where the Bezier curve points should be saved to. If curve.points.file is a folder, then curve point files are assumed to have the same name as the images (with a .txt extension). Alternatively, this can be a vector of
landmarks.ref
landmarks to be digitized. This can either be a file path to a .txt file containing the landmarks (listed in a single column, each on a separate line) or a vector of landmark names.
curves.ref
curves to be digitized. For each curve, the name of the curve, the starting point and the ending point must be specified. curves.ref can either be a three-column matrix (with the curve name in the first column, the starting point in the secon
auto.advance
A logical indicating whether after digitizing a landmark or control point the app should automatically advance to the next marker. This can be turned on/off once the app is open by holding down "shift" and pressing "a".
landmark.color.blur
The color of an unselected landmark. It might be necessary to change if the background color is close to the default. Colors must be valid SVG color names or codes (e.g. "hotpink", "#4B0082", etc.). A web-search for "SVG color codes" will indicate several
landmark.color.focus
The color of a selected landmark. See landmark.color.blur.
curve.color.blur
The color of digitized curves. A different color for a selected curve is not yet supported. See landmark.color.blur.
control.point.color.blur
The color of an unselected control point. See landmark.color.blur.
control.point.color.focus
The color of a selected control point. See landmark.color.blur.
landmark.radius
The radius of digitized landmarks.
control.point.radius
The radius of the Bezier control points.
marker.stroke.width
The thickness of the lines used to draw the landmarks and control points.