Learn R Programming

IFC (version 0.1.1)

cpp_extract: IFC_object Extraction

Description

Extracts object from ifd

Arguments

fname

string, path to file

ifd

List, ifd information of class IFC_ifd

colors

List of colors to use.

channels

DataFrame, channels information

physicalChannel

CharacterVector of indices for each channels

xmin

NumericVector of minimal values for each channels

xmax

NumericVector of maximal values for each channels

removal

IntegerVector of removal method to be used for each channels

add_noise

LogicalVector of whether to add_noise for each channels

full_range

LogicalVector of whether to use full_range for each channels

force_range

LogicalVector of whether to use force_range for each channels

gamma

NumericVector of the gamma for each channels

chan_to_extract

IntegerVector, channels to extract

extract_msk

uint8_t, type of masked to extract. - 0: no mask - 1: at least one raw mask - 2: at least one clipped - 3: at least one masked - 4: at least one MC

mode

string, color mode export. Either "rgb", "gray" or "raw". Default is "raw".

size

a length 2 IntegerVector of final dimensions (height,width) of the image. Default is 0,0 for no change.

verbose

bool, whether to display information (use for debugging purpose). Default is false.