Learn R Programming

metagear (version 0.1)

figure_displayDetections: Displays the detected figure objects.

Description

Generates a raster image of a figure with the detected objects painted on a background/reference figure.

Usage

figure_displayDetections(aDetectedPlot, background = NULL, color = "red",
  ignore = FALSE)

Arguments

aDetectedPlot
A binary figure image with detected objects (an EBImage object).
background
An EBImage figure of same size to be used as background (e.g., the original [RGB/color] figure image).
color
The color to paint the detected objects.
ignore
When TRUE does not display painted image, only returns painted image EBImage object.

Value

  • A RGB EBImage painted with detected figure objects.