Description Usage Arguments Value Note References See Also Examples
View source: R/Image_application.R
Generate the input parameter of apply_to_image based on the built-in or user-defined centroids
1 2 3 | generate_param(wl)
generate_param_ex(centroids, m = 1.36)
|
wl |
wavelength of subsetting |
centroids |
The centorids values required for fuzzy clustering on images. Its colnames should
be converted to numeric wavelength. The format should be like |
m |
The fuzzifier value of FCM. Default as |
The return of generate_param
or generate_param_ex
is a list used for
function apply_to_image.
generate_param
only support the cluster centroids proposed by Bi et al. (2019)
.
However, the generate_param_ex
could be used for user-defined centroids if you want.
Bi S, Li Y, Xu J, et al. Optical classification of inland waters based on an improved Fuzzy C-Means method[J]. Optics Express, 2019, 27(24): 34838-34856.
Other Fuzzy cluster functions:
FCM.new()
,
FuzzifierDetermination()
,
apply_FCM_m()
,
apply_to_image()
,
cal_memb()
,
plot_spec_from_df()
1 2 3 | library(FCMm)
wl = c(413, 443, 490, 510, 560, 620, 665, 674, 681, 709, 754, 779, 865, 885)
res = generate_param(wl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.