dot-envelope_creation: Envelope Creation For a Trace

.envelope_creationR Documentation

Envelope Creation For a Trace

Description

Takes a rough est for the envelope and removes any unwanted noise

Usage

.envelope_creation(
  rolledImage,
  chosenRoughBound,
  max_roc = 25,
  sepDist = 20,
  topOfLine = TRUE,
  maxNoise = 100
)

Arguments

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

Value

corected bound for the envelope


Bott-binc/magnetoPackage2020 documentation built on Oct. 12, 2024, 7:49 p.m.