fixed_markers: Generate markers in fixed locations

Description Usage Arguments Examples

View source: R/training_fixed_points.R

Description

Generate markers in fixed locations

Usage

1
2
3
4
5
fixed_markers(
  module = MODULE,
  image_paths_and_points = selected_image_paths_and_points,
  marker_depth = NA
)

Arguments

module

String to indicate if "2d" or "3d"

image_paths_and_points

List of Lists containing the 'img' and the 'img_points' for the annotation markers

marker_depth

Optional integer for the '3d' module to alter the depth of the marker where the default is 100 e.g. A value of 80 is shallower/closer to the camera than 100

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
selected_img_paths_and_points <- list(
  list(img = img_paths[1], img_points = img1Points),
  list(img = img_paths[2], img_points = img1Points),
  list(img = img_paths[3], img_points = img1Points)
) 

fixed_markers()
fixed_markers("2d")
fixed_markers("3d")
fixed_markers("3d", 80)
fixed_markers("3d", 90, selected_img_paths_and_points)              
                                                   

MilesMcBain/r2vr documentation built on March 29, 2021, 12:03 p.m.