This function is intended to display object extracted by objectExtract.
objectDisplay(
image,
input_range = c(0, 4095),
full_range = FALSE,
force_range = FALSE,
gamma = 1,
color = "Green",
dpi = 300
)it invisibly returns NULL
An object extracted by objectExtract of class `IFC_img` or `IFC_msk`.
Note that a matrix with finite values can also be used.
a finite numeric vector of 2 values, sets the range of the input intensity values. Values outside this range are clipped. Default is [0,4095].
if 'full_range' is TRUE, then 'input_range' will be set to [0,4095] and 'gamma' forced to 1. Default is FALSE.
if 'force_range' is TRUE, then 'input_range' will be adjusted to 'image' range in [-4095,+inf] and 'gamma' forced to 1. Default is FALSE.
Note that this parameter takes the precedence over input_range' and full_range'.
'gamma' correction. Default is 1, for no correction.
a color. Default is "Green".
display resolution. Default is 300.
If 'image' is of class `IFC_img` or `IFC_msk`, then if 'input_range', 'full_range', 'force_range', 'gamma' and/or 'color' parameters is/are missing,
it/they will be extracted from 'image' attributes.
If 'image' is not of one of class `IFC_img` or `IFC_msk`, then 'force_range' will be forced to TRUE.
An error will be thrown if input image contains non finite values.