ImLab Scilab Function
Last update :
imvote - majority vote with the results of several segmentations of the same image.
Calling Sequence
-
[classes_image] = imvote(image1,image2,image3[,image4,image5]])
Parameters
-
imagex
: (hyper)matrix which contains a segmentation result. These images must be several (3 or 5) segmentation results of the same image. They must be results of several classification phases. That is why all the images parameters must have the same dimension and the same size. As the cooperation uses a majority vote, there must be 3 or 5 image arguments.
-
classes_image
: image which contains the class number of each pixel after the majority vote. This image has the same dimension and the same size than the image arguments. This is the result of the cooperation of the segmentation methods.
Description
The results of the segmentations are synthesized in a new segmented images. Each pixel value is the number of the class it belongs to : the number of the class that appears the most often in the different results.