% Change all the label of the points in seed to templabel 

function changeALLID(seed, templabel)
global clusterId label im2 eps minpts

[r, c]= size(seed);

for i = 1:r
    x = seed(i, 1);
    y = seed(i, 2);
    label(x, y) = templabel;
end