ExtractImages_toFile {IFC} | R Documentation |
Shortcut for Batch Images Extraction to Files
Description
Function to shortcut extraction, normalization and eventually colorization of images to file ! excludes mask.
Usage
ExtractImages_toFile(
...,
objects,
offsets,
display_progress = TRUE,
mode = c("rgb", "gray")[1],
write_to,
overwrite = FALSE
)
Arguments
... |
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 TRUE. |
mode |
( |
write_to |
used to compute respectively exported file name. |
overwrite |
whether to overwrite file or not. Default is |
Details
If 'param'
is provided in '...'
:
-'param$export'<-"file"
, 'param$mode'<-'mode'
and 'param$overwrite'<-'overwrite'
will be overwritten.
-if 'write_to'
is not missing, 'param$write_to'<-'write_to'
will be overwritten. Otherwise, 'param$write_to'
will be used only if 'param$export'
was "file"
.
'write_to'
has to be provided if 'param'
can't be found in '...'
or if 'param$export'
was not "file"
.
Value
It invisibly returns a list of exported file path of corresponding to objects extracted.
Note
Arguments of objectExtract
will be deduced from ExtractImages_toFile
input arguments.