.bottom_env | R Documentation |
Bottom bound for a set of horizontal lines, follows contour of the top line and corrects for un-wanted noise
.bottom_env(rolledImage, max_roc = 25, sepDist = 10, maxNoise = 100)
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 allowed before considered to be off of the trace |
vector of points for a line, in the correct scaling for the rolled image. can do nrow(imageMatrix) - bottomcut + Envelope change the scaling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.