figure_detectAxis {metagear}R Documentation

Detect an axis from a figure image.

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

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


[Package metagear version 0.7 Index]