ImLab Scilab Function
Last update :

imfuzzykmeansclassify_2 - Fuzzy k-means method classification phase: third step of image segmentation using fuzzy k-means clustering method.

Calling Sequence

[classes_image] = imfuzzykmeansclassify(prototype,mask,weights,fuzzyness,threshold1,threshold2,im1[,im2[,im3[,im4[,im5[,im6[,im7[,im8[,im9[,im10]]]]]]]]])

Parameters

Description

Thanks to the prototype, this function classifies all the pixels of images that are defined by the mask. The class membership degrees are calculated. Let u1 and u2 be the highest membership degrees (u1 > u2) for one pixel. The value of the pixel in the classes image can be the number of the class with the highest membership degree (if u1 >= threshold1), or the number k of the rejection class (if (u1 - u2) > threshold2). Note that class numbers begin at 0.Note that the distance used is the euclidean one.