Description Usage Arguments Examples
Read a pdf into a lines object
1 2 3 4 5 6 | contour_read(
pdf_path,
smallest_length = 1e-05,
grow_radius = 2,
clean_thresh = 0.08
)
|
pdf_path |
file.path to input pdf |
smallest_length |
numeric threshold defining the smallest line-length to be returned |
grow_radius |
numeric value defining how much to "grow" lines prior to thinning |
clean_thresh |
numeric threshold defining the smallest allowable "dangle" |
1 2 3 4 5 6 | ## Not run:
pdf <- system.file("extdata/1835300a.pdf", package = "contour2bathy")
res <- contour_read(pdf_path = pdf)
sp::plot(res$lines)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.