Function to shortcut extraction, normalization and eventually colorization of masks to matrix ! excludes image.
ExtractMasks_toMatrix(..., objects, offsets, display_progress = TRUE)
arguments to be passed to objectExtract
with the exception of 'ifd' and 'bypass'(=TRUE).
If 'param' is provided 'export'(="matrix") will be overwritten.
If 'offsets' are not provided extra arguments can also be passed with ... getOffsets
.
/!\ If not any of 'fileName', 'info' and 'param' can be found in ... then attr(offsets, "fileName_image") will be used as 'fileName' input parameter to pass to objectParam
.
integer vector, IDEAS objects ids numbers to use. This argument is not mandatory, if missing, the default, all objects will be used.
object of class `IFC_offset`. This argument is not mandatory but it may allow to save time for repeated image export on same file.
whether to display a progress bar. Default is TRUE.
A list of matrices/arrays of masks corresponding to objects extracted.
arguments of objectExtract
will be deduced from ExtractMasks_toMatrix
input arguments.