Find the files which match with the computed endmembers.

unmixing_fixed(signatures, endmember_files, endmember_names = NULL,
  endmember_colors = NULL)

Arguments

signatures

A spectral object built using the load_signature_files function.

endmember_files

A vector of filenames (strings) of the selected signatures to be fixed as endmembers.

endmember_names

A vector of names to be assigned to each selected endmember. Optional, by default (NONE) uses the filenames.

endmember_colors

A vector of color names to be assigned to each selected endmember. Check for possible colors colors. Optional, by default (NONE) use random colors.

Value

A data frame which contains the files which match with the selected endmembers.

See also

Examples

data(signatures) files <- c("almagre.asd.txt", "blanco.asd.txt") names <- c("red", "white") colors <- c("red2", "white") unmixed_signatures <- unmixing_fixed(signatures, endmember_files=files, endmember_names=names, endmember_colors=colors)
#> Error in unmixing_fixed(signatures, endmember_files = files, endmember_names = names, endmember_colors = colors): Error. File almagre.asd.txt not found in signature