View source: R/redefine_utils.R
swap_channel | R Documentation |
Swaps Channels within 'IFC_data' object
swap_channel(obj, chan1, chan2, BF = TRUE, MODE = 1)
obj |
an 'IFC_data' object extracted with features extracted. |
chan1 , chan2 |
an integer index of channel. 'chan1' and 'chan2' should be different. |
BF |
should 'from' channel be considered as brightfield. Default is TRUE. |
MODE |
collection mode (as retrieved by getInfo) determining the range. Default is 1. |
'BF' and 'MODE' will be used only if 'chan1' or 'chan2' is not found in 'obj'.
/!\ NOTE: In case of conflict between resulting names, 'chan2' will be preferred, maximizing number of features with 'chan2'.
a list, intended to be passed to 'new_feat_def' argument of getFromNamespace("redefine_obj", "IFC") whose members are:
-features_def, an 'IFC_features_def' object, or a list containing features definition
-masks, an 'IFC_masks' object or a data.frame containing masks definition and name.
-images, a data.frame containing images definition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.