parseOTBFunction: Get OTB function argument list

Description Usage Arguments Examples

View source: R/parseOTB.R

Description

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

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## 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 Sept. 5, 2021, 5:34 p.m.