| objectParam | R Documentation |
Defines 'IFC_object' object extraction parameters.
objectParam(
...,
info,
mode = c("rgb", "gray", "raw")[3],
export = c("file", "matrix", "base64")[2],
write_to,
base64_id = FALSE,
base64_att = "",
overwrite = FALSE,
composite = "",
selection = "all",
size = c(0, 0),
force_width = TRUE,
random_seed = NULL,
removal = "none",
add_noise = TRUE,
full_range = FALSE,
force_range = FALSE,
spatial_correction = FALSE
)
... |
arguments to be passed to |
info |
object of class 'IFC_info', rich information extracted by |
mode |
color mode export. Either |
export |
format mode export. Either |
write_to |
used when export is |
base64_id |
whether to add id attribute to base64 exported object. Default is |
base64_att |
attributes to add to base64 exported object. Default is |
overwrite |
only apply when |
composite |
character vector of image composite. Default is |
selection |
physical channels to extract. |
size |
a length 2 integer vector of final dimensions of the image, height 1st and width 2nd. Default is |
force_width |
whether to use information in |
random_seed |
a list of elements to pass to set.seed or a single value, interpreted as an integer, or NULL to be used when |
removal |
removal method: Either |
add_noise |
if |
full_range |
only apply when |
force_range |
only apply when |
spatial_correction |
only apply on RIF file, whether to apply spatial correction. Default is |
When a mask is detected, 'add_noise', 'full_range' and 'force_range' are set to FALSE and range used will be forced to [0,3].
Range of image is controlled by 'Images' information from supplied 'info' or as extracted by getInfo and will be returned as 'channels' by objectParam.
In case 'mode' is not "raw", 'channels$xmin', 'channels$xmax', 'channels$gamma' will be used for object extraction by objectExtract unless any of 'force_range' or 'full_range' is TRUE.
Experimental (as of v0.2.0.501): once returned by objectParam, those 'channels$xmin' and 'channels$xmax' can be manually adjusted to ]0,1[ so as to be used as 'probs' argument to quantile to allow quantile normalization during object extraction (objectExtract) afterwards.
an object of class 'IFC_param'.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.