region coloring & sampling