identifyBackgroundColor | R Documentation |
Identifies the background color based on the results
of identifyPixelContent()
by averaging the color values of
all pixels identified as background.
identifyBackgroundColor(object, ...)
## S4 method for signature 'SPATA2'
identifyBackgroundColor(
object,
img_name = activeImage(object),
verbose = NULL,
...
)
## S4 method for signature 'SpatialData'
identifyBackgroundColor(
object,
img_name = activeImage(object),
verbose = TRUE,
...
)
## S4 method for signature 'HistoImage'
identifyBackgroundColor(object, verbose = TRUE, ...)
object |
An object of class |
... |
Used to absorb deprecated arguments or functions. |
img_name |
Character value. The name of the image of interest.
If |
verbose |
Logical. If (Warning messages will always be printed.) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.