plot_success: Plotting Successful Digitization

View source: R/userFunctions.R

plot_successR Documentation

Plotting Successful Digitization

Description

Plotting Successful Digitization

Usage

plot_success(
  imageMatrix,
  rolledImage,
  topCut,
  bottomCut,
  topStartEnds,
  bottomStartEnds,
  topTrace,
  bottomTrace,
  plotEnv,
  maxNoise = 250,
  max_roc = 35,
  sepDist = 10,
  pathToWorkingDir = "~/",
  imageName,
  intersectionFlag = FALSE
)

Arguments

imageMatrix

Matrix for a certain image (scaled)

rolledImage

Using mean_roll_image

topCut

A point which indicates a horizontal line between the top text and the first trace

bottomCut

A point which indicates a horizontal line between the bottom trace and the timing marks (if a line can be found)

topStartEnds

Top trace start and ends for isolated trace

bottomStartEnds

Bototm trace start and ends for isolated trace

topTrace

Top trace matrix for the isolated trace

bottomTrace

Bottom trace matrix for the isolated trace

plotEnv

The envelope that you would like to put onto the plot

maxNoise

The length of creating points allowed before considered to be off of the trace

max_roc

Maximum rate of change allowed between two pixels on the line before deemed as noisee

sepDist

How far you want the envelope to be below the line you are tracing

pathToWorkingDir

Which directory you want the image to end up in

imageName

The name of the image (usually the file name)

intersectionFlag

If intersection is known to user, or is found with TISI or TIS, will not plot full, will consider it to be a failed process plot

Value

void


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