ImLab Scilab Function
Last update :
imgrowing - seeded growing region function (all regions form the same class)
Calling Sequence
-
[region,iter_number] = imgrowing(image,mask,points,threshold1,threshold2,size_seed,seeds_choice)
Parameters
-
image_data
: image pixel values
-
mask
: binary image, of value 1 where pixels should not be agregated
-
points
: coordinates of the seeds of the region
-
threshold1
: local criterion of the growth
-
threshold2
: global criterion of the growth
-
size_seed
: odd number, size of the dilatation wanted for the seed (1 if no dilatation)
-
seeds_choice
: 1 for single seeds, 2 if all the points form the same seed (in this case, size_seed is forced to 1)
-
region
: binary image, returned mask of the grown region
-
iter_number
: table containing the number of iterations used for each seed growth
Description
This function agregates pixels to the seeds placed in the image respecting homogeneity criteria, in order to form a unique region owning the same class.