View source: R/haralickCluster.R
haralickCluster | R Documentation |
This function performs k-medoids clustering on images using Haralick features, which describe texture. By evaluating contrast, correlation, entropy, and homogeneity, it groups images into clusters with similar textures. K-medoids is chosen for its outlier resilience, using actual images as cluster centers. This approach simplifies texture-based image analysis and classification.
haralickCluster(path)
path |
directory path to folder with images to be analyzed |
data.frame
containing file names, md5sums and cluster number.
https://cran.r-project.org/package=radiomics
path2dir <- system.file("images", package = 'biopixR')
result <- haralickCluster(path2dir)
print(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.