WOLFRAM
Products
Wolfram|One
Mathematica
Wolfram Notebook Assistant + LLM Kit
Wolfram|Alpha Notebook Edition
System Modeler
All Products
Consulting & Solutions
Wolfram Consulting
Industry Solutions
Solutions for Education
Learning & Support
Wolfram U Courses
Wolfram Language Resources
Wolfram Community
Support FAQs
Contact Support
Company
About Wolfram
Careers
Events
Educational Programs
All Sites and Resources
Wolfram|Alpha
Wolfram Cloud
Your Account
Your Account
User Portal
Search
Close
Enable JavaScript to interact with content and submit forms on Wolfram websites.
Learn how
Legacy Documentation
Mathematica 8
(2010)
This is documentation for Mathematica 8, which was
based on an earlier version of Wolfram Language.
View current documentation (Version 14.3)
Mathematica
>
Data Manipulation
>
Image Processing & Analysis
>
Segmentation Analysis
>
ClusteringComponents
>
BUILT-IN MATHEMATICA SYMBOL
ArrayComponents
FindClusters
MorphologicalComponents
WatershedComponents
See Also »
|
Image Processing & Analysis
Segmentation Analysis
New in 8.0: Alphabetical Listing
New in 8.0: Data Manipulation
More About »
ClusteringComponents
ClusteringComponents
[
array
]
gives an array in which each element of
array
is replaced by an integer index representing the cluster in which the element lies.
ClusteringComponents
finds at most
n
clusters.
ClusteringComponents
finds clusters at the specified level in
array
.
ClusteringComponents
[
image
]
finds clusters of pixels with similar values in
image
.
ClusteringComponents
finds at most
n
clusters in
image
.
ClusteringComponents
in effect uses the Euclidean distance function
EuclideanDistance
to determine the similarity of elements.
Other distance functions can be specified by setting the
DistanceFunction
option. Possible settings are:
ManhattanDistance
Manhattan or "city block" distance
EuclideanDistance
Euclidean distance
SquaredEuclideanDistance
squared Euclidean distance
NormalizedSquaredEuclideanDistance
normalized squared Euclidean distance
CosineDistance
angular cosine distance
CorrelationDistance
correlation coefficient distance
ClusteringComponents
works with numeric arrays of any dimensions and any type of image.
A
Method
option can be used to specify different methods of clustering. Possible settings include:
"Agglomerate"
find clustering hierarchically
"Optimize"
find clustering by local optimization
"KMeans"
-means clustering algorithm
"PAM"
find clustering by partitioning around medoids
ClusteringComponents
by default uses the method.
ClusteringComponents
accepts a option that is used to control the creation of the initial set of seeds.
(4)
Label two clusters of values in a list:
Clustering transform of nested lists:
Cluster analysis of an MR image:
Find a color segmentation of a satellite image:
Label two clusters of values in a list:
Out[1]=
Clustering transform of nested lists:
Out[1]=
Cluster analysis of an MR image:
Out[1]=
Find a color segmentation of a satellite image:
Out[1]=
(6)
Clusters of values in a matrix:
Find color clusters in an image:
Find clusters at list level 2:
Find clusters at list level 1:
Find duplicates by specifying a large number of clusters:
Labeling clusters in a matrix:
(1)
Color segmentation of a microscopic image, after smoothing with a Perona-Malik filter:
ArrayComponents
bullet
FindClusters
bullet
MorphologicalComponents
bullet
WatershedComponents
Image Processing & Analysis
Segmentation Analysis
New in 8.0: Alphabetical Listing
New in 8.0: Data Manipulation
New in 8
ja
zh
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル