PANDORE Version 6 |
GREYC-IMAGE |
pfuzzyclustering
Performs pixel clustering onimage using fuzzy k-means algorithm.
Synopsis
pfuzzyclustering nbclass fuzzy_degree [-m mask] [im_in|-] [rg_out|-]
Description
fuzzyclustering classifies the input image pixels
into nbclass number of clusters.
The method uses the fuzzy k-mean algorithm.
The result is region map rg_out.
Parameters
- nbclass is the number of cluster. Is is a positive value.
- fuzzy_degree specifies the fuzzy degree of the classification.
It is a real value from [1..2] where 1 corresponds to no fuzzy.
Inputs
Outputs
Result
Returns SUCCESS or FAILURE.
Examples
Segments the tangram pieces:
pfuzzyclustering 2 1.5 tangram.pan out.pan
See also
Thresholding
C++ prototype
Errc PFuzzyClustering( const Img2duc &im_in, Reg2d &rg_out, int nbclass, float fuzzy_degree );
Version française
Classification des pixels d'une image par la méthode des k moyennes floues.
Author: Jalal Fadili