add: pixels with same label have the same color