get_mask_hough: Create mask layer for grooves identified with hough

Description Usage Arguments Value Examples

View source: R/get_mask_hough.R

Description

Function that creates a mask layer for an x3p of a bullet land based on the predictions of the Hough process.

Usage

1
get_mask_hough(land.x3p, grooves)

Arguments

land.x3p

an x3p file containing a bullet land, including surface matrix

grooves

a list object containing the output of the get_grooves_hough function. Should include a left and right groove fit equations

Value

an x3p file with the added mask that estimates the GEAs from the Hough method.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
library(x3ptools)
data("br411")
x3p <- br411
grooves <- get_grooves_hough(x3p_to_df(x3p))

a <- get_mask_hough(x3p, grooves)
## Not run: 
x3ptools::image_x3p(a)

## End(Not run)

heike/grooveFinder documentation built on Dec. 31, 2019, 12:33 p.m.