Localize color bloks in images