dot-top_image_cut: Top Image Cut

.top_image_cutR Documentation

Top Image Cut

Description

returns part of the image that doesn't have any horizontal lines (traces) in, will discard lettering(main use)

Usage

.top_image_cut(imageMatrix, percentFromEdge, percentEdgeForLeft = NULL)

Arguments

imageMatrix

Imported image into matrix form, can use tiff_import()

percentFromEdge

used in find_peaks if you know there wont be a peak in a region

percentEdgeForLeft

passed into find peaks, if not specified, uses percentFromEdge for both left and right sides, if specified, percentFromEdge is defaulted to just the right side of the plot

Value

the recommended cutoff of the top of your image


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