ImLab Scilab Function
Last update :

imhierarclusclassify - hierarchical clustering method, classification phase: third step of image segmentation using hierarchical clustering method.

Calling Sequence

[classes_image] = imhierarclusclassify(prototype,mask,weights,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 value of a pixel in the classes image is the number of the class whose center is the closest (class numbers begin at 0). Note that the distance used is the euclidean one. This function is the same as 'imkmeansclassify'.