parseOTBFunction: Get OTB function argument list

View source: R/parseOTB.R

parseOTBFunctionR Documentation

Get OTB function argument list

Description

retrieve the choosen function and returns a full argument list with the default settings

Usage

parseOTBFunction(algo = NULL, gili = NULL)

Arguments

algo

either the number or the plain name of the 'OTB' algorithm that is wanted. Note the correct (of current/choosen version) information is probided by 'parseOTBAlgorithms()'

gili

optional list of avalailable 'OTB' binaries if not provided 'linkOTB()' is called

Examples

## Not run: 
otblink<-link2GI::linkOTB()
if (otblink$exist) {

## parse all modules
algos<-parseOTBAlgorithms(gili = otblink)


## take edge detection
cmdList<-parseOTBFunction(algo = algos[27],gili = otblink)
## print the current command
print(cmdList)
}

## End(Not run)
##+##

link2GI documentation built on Aug. 29, 2022, 9:06 a.m.