ImLab Scilab Function
Last update :

imlearningdata - learning data creation: image segmentation first step. Training phases of clustering methods can then be applied on this learning set.

Calling Sequence

[learningdata] = imlearningdata(percentage,mask,weights,im1[,im2[,im3[,im4[,im5[,im6[,im7[,im8[,im9[,im10]]]]]]]]])

Parameters

Description

This function chooses at random image pixels having a non null value in the mask. The number of chosen pixels is computed with the percentage and the number of non null values in the mask. The result learning set contains the set of values of each chosen pixel in each image for each component. These values are balanced with the relative weights of the different attributes images. The result learning set can be used to compute one or more training phase(s) of image segmentation methods.