.envelope_creation | R Documentation |
Takes a rough est for the envelope and removes any unwanted noise
.envelope_creation(
rolledImage,
chosenRoughBound,
max_roc = 25,
sepDist = 20,
topOfLine = TRUE,
maxNoise = 100
)
rolledImage |
Image that has been put through the .roll_image() |
chosenRoughBound |
vector of the rough bound (use apply on the columns) |
max_roc |
maximum rate of change allowed between two pixels on the line before deemed as noise |
sepDist |
how far you want the envelope to be below the line you are tracing |
topOfLine |
bool, if you are tracing the top of the bottom of the line |
maxNoise |
the length of creating points alowed before considered to be off of the trace |
corected bound for the envelope
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.