ab representation have been introduced to overcome these limitations [8].
In this chapter, both the RGB, Lab and HSL (hue/saturation/luminance) color space representations will be used for defining spatially adaptive color image filters. The CIE Lab color space is deduced from the CIE XYZ color space:
where:
(1)
and are the CIE XYZ tristimulus values of the reference white point corresponding to the illuminant .
The HSL space is derived from the RGB space by the following equations:
1.3 Need of Vector Order Relations
Rank-order filters (such as morphological filters or Choquet filters) need the use of an order relation between the intensities to be processed. The application of rank-order filtering to color images is not straightforward due to the vectorial nature of the color data. Several vector order relations have been proposed in the literature such as marginal ordering, lexicographical ordering, partial ordering and reduced ordering [2, 6]. For example, let be a color space where are three sets of scalar values. The lexicographical order on , denoted , with the component ordering is defined as following for two color vectors and :
Concerning the vectorial ordering, the lexicographical one will be used in this chapter by fixing the ordering of the components for the three color space representations as follows:
(4)
in RGB: or
in Lab:
in HSL: or where corresponds to the origin of hues and denotes the angular difference defined as:
2 Color Adaptive Neighborhoods (CANs)
This chapter deals with 2D color images, that is to say image mappings defined on a spatial support in the Euclidean space and valued onto a color space (such as RGB, Lab, HSL…). The set of color images is denoted .
2.1 Definition
In order to process color images within the GANIP framework, it is first necessary to define Color Adaptive Neighborhoods (CANs) in the most simple way.
For each point and for a color image , called the pilot image, the CANs denoted are subsets in . They are built upon in relation with a homogeneity tolerance belonging to the positive real value range . More precisely, is a subset of which fulfills two conditions:
The CANs are thus mathematically defined as following:
1.
its points have a color value close to that of the point : , where denotes a functional on the color space . By using the RGB, Lab and HSL color spaces, the functionals are defined as [2]:
(6)
(7)
(8)
2.
the set is path-connected with the usual Euclidean topology on (a set is connected if for all there exists a continuous mapping such that and ).
where denotes the path-connected component (with the usual Euclidean topology on ) of containing .
(9)
The definition of ensures that for all .
2.2 Illustration
Figure 1 illustrates the CANs of two points computed on a human retina image (used ad the pilot image ). The figure highlights the homogeneity and the correspondence of the CANs with the spatial structures.
Fig. 1
a Original image with two seed points and (white dots). b CANs and . The CANs of the two selected points of the original color image are homogeneous with the tolerance in the RGB color space
2.3 Properties
These color adaptive neighborhoods satisfy several properties:
The proofs of these properties are similar to those stated for gray-tone images [11].
1.
reflexivity:
(10)
2.
increasing with respect to :
(11)
3.
equality between iso-valued points:
(12)
3 CAN Choquet Filtering
Fuzzy integrals [9, 36] provide a general representation of image filters. A large class of operators can be represented by those integrals such as linear filters, morphological filters, rank filters, order statistic filters or stack filters. The main fuzzy integrals are Choquet integral [9] and Sugeno integral [36]. Fuzzy integrals integrate a real function with respect to a fuzzy measure.
3.1 Fuzzy Integrals
Let be a finite set. In discrete image processing applications, represents the pixels within a subset of the spatial support of the image (an image window). A fuzzy measure, , over is a function such that:
Fuzzy measures are generalizations of probability measures for which the probability of the union of two disjoint events is equal to the sum of the individual probabilities.
The discrete Choquet integral of a function with respect to the fuzzy measure is [26]:
where the subsymbol indicates that the indices have been permuted so that: and .
(13)
An interesting property of the Choquet fuzzy integral is that if is a probability measure, the fuzzy integral is equivalent to the classical Lebesgue integral and simply computes the expectation of with respect to in the usual probability framework.
The fuzzy integral is a form of averaging operator in the sense that the value of a fuzzy integral is between the minimum and maximum values of the function to be integrated.
3.2 Classical Choquet Filters
Let be a color image in , a window of points and a fuzzy measure defined on . This measure could be extended to all translated window associated to a pixel : . In this way, the Choquet filter associated to is defined by:
where the subsymbol indicates that the indices have been permuted so that: and .
(14)
Note that corresponds to the multiplication by of each component of (which is an element of the color space ). The same mapping is realized for the sum . In this way, the resulting value is guaranteed to be in .
The Choquet filters generalize [18] several classical filters:
The mean, rank and order filters are Choquet filters with respect to the so-called cardinal measures: ( denoting the cardinal of ). Those filters, using an operational window , could be characterized with the application: . Indeed, different cardinal measures could be defined for each class of filters:
linear filters (mean, Gaussian, …): where
rank filters (median, min, max, …): where
order filters (-power, -trimmed mean, quasi midrange, …): where
In this way, there is a natural link between the weights of the general order filters and the fuzzy cardinal measures: where corresponds to the fuzzy measure of the set with cardinal .
mean filter: is the fuzzy measure on defined by
rank filters: (of order ): is the fuzzy measure on defined by:
order filters: is the fuzzy measure on defined by
For example, the median filter (using a window) is characterized by the following cardinal measure (Fig. 2):
where denotes the largest integer not greater than (floor).
Fig. 2
Fuzzy measure of the classical median filter on a operational window [16]. The corresponding weights of this order filter are equal to and otherwise
The Fig. 3 shows an illustration of several classical filters within the RGB color space, using the square of size as operational window and the lexicographical order . The filters are performed on a painting image of the artist Gamze Aktan.Get Clinical Tree app for offline access
Fig. 3
a Original image. b Classical mean filtering. c Classical median filtering. d Classical min filtering. e Classical max filtering. f Classical -power filtering. g Classical -power filtering. Several classical Choquet filters within the RGB color space, using the square of sizeStay updated, free articles. Join our Telegram channel
Full access? Get Clinical Tree