Fuzzy Logic-based methods

The classification of a colour is not a simple task, mainly because it is a subjective process. On this page we present the four main methods for colour segmentation based on fuzzy sets.

The background framework: Fuzzy logic and fuzzy sets

Traditionally, logic has been based on binary statements, with no need for further specification. However, many everyday situations require a greater degree of detail; for example, determining whether a person is tall or short, whether a process is efficient or not, or, specifically, whether a colour is red, orange or yellow. Because of the subjectivity of these processes, fuzzy logic is a good framework for modelling uncertainty.

Colours as fuzzy sets

As shown, color grading is a very subjective process. Therefore, the concepts of fuzzy sets will be applied for segmentation.

Due to the separation of the chromatic component, the implemented methods are based on the HSV colour space. The H component concentrates the pure colour, while the S and V components represent, respectively, the saturation and the level of white present in that colour. In this module, each color will represent a fuzzy set, so that using its associated membership function over the H channel the degree of chromaticism can be studied. Currently, there are four methods based on fuzzy sets:

  • Amante-Fonseca, using fuzzy trapezoidal membership functions.

  • Chamorro-Martínez, using fuzzy trapezoidal membership functions.

  • Liu-Wang, using fuzzy trapezoidal membership functions.

  • Shamir, using fuzzy triangular membership functions.

The difference between each of the methods is the colour palette they define, and their membership functions. The overall process can be summarised in the following diagram.

The method for determining whether a colour is chromatic or not from its S and V components is defined in Amante-Fonseca.

Last updated