Declaration: VCAGui(NEndMembers, ResampleFact: integer; NoisyData: boolean): integer;
Starts the graphical user interface of the vertex component analysis (VCA). The parameter NEndMembers specifies the maximum number of expected end members (valid range: 2 to 16). ResampleFact defines a resampling factor which allows to speed up calculations, the valid range is between 1 and 20. Please note that the resampling factor should always be 1 for final calculations.

The parameter NoisyData controls whether the VCA is applied to the original data ( = FALSE) or to noise suppressed data ( = TRUE).

The function returns the following error codes:

 0 ... everything is ok
-1 ... invalid number of endmembers
-2 ... invalid resampling factor