dot-top_lower_env: Bottom of Top Trace Envelope

.top_lower_envR Documentation

Bottom of Top Trace Envelope

Description

Bottom bound for the top trace , follows contour of the top line and corrects for un-wanted noise

Usage

.top_lower_env(rolledImage, max_roc = 25, sepDist = 10, maxNoise = 100)

Arguments

rolledImage

Image that has been put through the .roll_image()

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

maxNoise

the length of creating points alowed before considered to be off of the trace

Value

vector of points for a line, in the correct scaling for the rolled image. can add to to change the scaling: nrow(imageMatrix) - bottomcut + Envelope


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