International audienceIn this paper we detail an algorithm that deals with objects and shape recognition based on color groups identification. The algorithm can dynamically adjust the unit set of pixels used to define color groups. Each color group is selected from the current scene. The algorithm is optimized to run faster than classical ones. Experiments were conducted on soccer images captured from real situations of the standard platform league (SPL). They also show the influence of camera parameters like contrast and gain. They lead to the conclusion that a set of rules could help to aggregate color groups and to identify scenes according to a classical predefined color look-up table (CLUT)