View source: R/ExtractToFuns.R
polyExtractTo | R Documentation |
Function to shortcut extraction, normalization and eventually colorization of images or masks to various format.
polyExtractTo(
...,
objects,
offsets,
display_progress = TRUE,
image_type = "img",
export = "matrix",
mode = "raw"
)
... |
arguments to be passed to |
objects |
integer vector, IDEAS objects ids numbers to use. This argument is not mandatory, if missing, the default, all objects will be used. |
offsets |
object of class 'IFC_offset'.
This argument is not mandatory but it may allow to save time for repeated image export on same file. |
display_progress |
whether to display a progress bar. Default is |
image_type |
( |
export |
( |
mode |
( |
If 'param'
is provided in '...'
, 'param$export'<-'export'
and 'param$mode'<-'mode'
only will be overwritten.
A list (for every extracted objects) of list (for every exported channels) depending on 'param$export
' parameter:
-"matrix"
, a matrix when 'param$mode
' is set to "raw"
or "gray"
OR an array when 'param$mode
' is "rgb"
,
-"base64"
, a data-uri string,
-"file"
, an invisible file path corresponding to the location of exported file(s).
-"multi"
, an invisible file path corresponding to the location of exported file(s).
Arguments of objectExtract
will be deduced from input arguments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.