figure_detectAxis: Detect an axis from a figure image.

Description Usage Arguments Value See Also

Description

Attempts to detect either the X (horizontal) or Y (vertical) axis from a plotted figure.

Attempts to detect either the X (horizontal) or Y (vertical) axis from a plotted figure.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
figure_detectAxis(
  aBinaryPlot,
  axis_type = "X",
  axis_thickness = 5,
  sensitivity = 0.2
)

figure_detectAxis(
  aBinaryPlot,
  axis_type = "X",
  axis_thickness = 5,
  sensitivity = 0.2
)

Arguments

aBinaryPlot

A binary figure image (an EBImage object). See: figure_transformToBinary

axis_type

The axis to be detected from a figure: can be X or Y.

axis_thickness

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.

sensitivity

A value designating the sensitivity of identifying straight lines on a figure. A smaller number results in a higher sensitivity to identify axes.

Value

An EBImage object with detected points.

An EBImage object with detected points.

See Also

figure_detectAllPoints

figure_detectAllPoints


metagear documentation built on Feb. 15, 2021, 5:09 p.m.