dot-top_env: Top Envelope

.top_envR Documentation

Top Envelope

Description

Top bound for a set of horizontal lines, follows contour of the top line and corrects for un-wanted noise

Usage

.top_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 above 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.