Attempts to detect either the X (horizontal) or Y (vertical) axis from a plotted figure.
figure_detectAxis(
aBinaryPlot,
axis_type = "X",
axis_thickness = 5,
sensitivity = 0.2
)
A binary figure image (an EBImage object).
See: figure_transformToBinary
The axis to be detected from a figure: can
be X
or Y
.
An integer used to designate the thickness of the axis lines on a figure. Close alignment to the thickness of the axis on a figure will improve axis detection.
A value designating the sensitivity of identifying straight lines on a figure. A smaller number results in a higher sensitivity to identify axes.
An EBImage
object with detected points.