Description Usage Arguments Examples
Documentation for the seg_kmeans function
1 | seg_kmeans(im, b = 3, k = 5)
|
im |
Input image |
b |
Number of bands in the image (default is 3) |
k |
Number of clusters (default is 5) |
1 2 3 4 5 6 | ## Not run:
library(stars)
tif <- read_stars(system.file("extdata/image.tif", package="ImageSegmentation"))
j <- seg_kmeans(tif)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.