Open Access
18 February 2014 Improving a rough set theory-based segmentation approach using adaptable threshold selection and perceptual color spaces
Author Affiliations +
Abstract
We propose a color image segmentation approach based on rough set theory elements. Main contributions of the proposed approach are twofold. First, by using an adaptive threshold selection, the approach is automatically adjustable according to the image content. Second, a region-merging process, which takes into account both features and spatial relations of the resulting segments, lets us minimize over-segmentation issues. These two proposals allow our method to overcome some performance issues shown by previous rough set theory-based approaches. In addition, a study to determine the best suited color representation for our segmentation approach is carried out, determining that the best results are obtained using a perceptually uniform color space. A set of qualitative and quantitative tests over a comprehensive image database shows that the proposed method produces high-quality segmentation outcomes, better than those obtained using the previous rough set theory-based and standard segmentation approaches.

1.

Introduction

Color image segmentation has been a central problem in computer vision and pattern recognition systems for many years. Its importance relies on its use as a preanalysis step for images in many applications such as object recognition, tracking, scene understanding, and image retrieval, among others. Segmentation refers to the process of partitioning a digital image into multiple regions that are assumed to correspond to significant objects in the scene. The partition consists of assigning a working label to every pixel within an image, in such a way that pixels with the same label share a set of particular features1 and, in addition, are spatially connected.

A considerable number of approaches address the problem of color image segmentation, and different authors have focused their efforts to categorize all these techniques. Just to mention a few, we can refer to the surveys by Fu and Mui,2 Pal and Pal,3 Cheng et al.,4 Lucchese and Mitra5 and the most recent work by Vantaram and Saber.6 In general, the color image segmentation approaches can be separated into three groups: (1) spatially guided, (2) spatially blind, and (3) miscellaneous,6 where the first two categories comprise most of the methods.

On one hand, the main idea of the spatially guided methods is that pixels that are neighbors may have features in common. The goal of such methods is to agglomerate adjacent pixels with, for example, split-and-merge7,8 and region-growing9,10 strategies. Their main drawback is that, even when the resulting regions in the segmentation are spatially well connected and compact, there is no guarantee that the segments are homogeneous in a specific feature space. Moreover, sequential design (pixel-by-pixel agglomeration) of these procedures often results in intensive computational schemes with significant memory requirements. Among these approaches, the quality of the segmentation is dependent on the initial seeds selection and homogeneity criteria used. On the other hand, we have the spatially blind algorithms. These methods assume that the color on the surface of an object is unvarying and, therefore, the object will be represented as a cluster of points in a given color space. Because of their simplicity and low computational cost, this kind of method has been widely adopted in the development of segmentation algorithms. Examples of these approaches include clustering1114 and histogram-based approximations.15,16 In comparison with the spatially guided techniques, the spatially blind methods present some advantages. For example, comparing with the region-growing approaches, in the spatially blind techniques, there is no need to define the number and placement of the initial seeds. The advantage over the split-and-merge methods is that such methods require a postprocessing refinement in order to accurately capture the shape of the objects.

Among the spatially blind techniques, the histogram-based methods offer some advantages over the clustering approximations. An example of those advantages is that in the histogram-based methods, there is no required a priori information about the image like the number of classes or the palette of colors to be used. In the histogram-based techniques, the image histogram is obtained and the representative objects within the scene are identified as significant peaks in the histogram. Depending on the number of peaks, a set of thresholds is established and a multithreshold segmentation is carried out. The disadvantages of this approximation include the sensitivity to noise and intensity variations, the difficulty to identify significant peaks in the histogram, and the fact that the regular histogram ignores the spatial relationship between neighbor pixels.

In order to address the problems of the histogram-based methods, Mohabey and Ray17 introduced the concept of histon, based on the rough set theory.18 The histon is an enhancement of the histogram, and it is a representation that associates pixels which are similar in features and may belong to one specific object in the image. The histon has the advantage of associating pixels with similar colors within a spatial neighborhood, resulting in a method which is tolerant to small variations of colors and noises. Additionally, the histon facilitates the selection of significant peaks because they are heightened in comparison with the peaks in a histogram. A further improvement to the histon is the proposal by Mushrif and Ray,19 where both the histon and the histogram are correlated into a representation named as roughness index. In the Mushrif and Ray method (from now on referred to as RBM, for roughness index-based), the selection of peaks in the roughness index is accomplished by following a succession of fixed criteria, considering a peak as significant if it satisfies a minimum height and distance from other peaks. It deserves attention, in the fact that although those fixed criteria are easy to follow, they might not be appropriate for different distributions where the heights and number of peaks are variable. After the thresholding process in the RBM, a region-merging step is performed in order to avoid over-segmentation. This last step is accomplished only in the feature space, ignoring the spatial relationship between the different regions. Recently, the roughness index-based method has been used for different applications like image retrieval,20 detection of moving objects,21 color text segmentation,22 and medical imaging.23

Concerning the color features representation, it is known that the performance of a color-based segmentation method highly depends on the choice of the color space.24 Different studies have tried to determine the best-suited color representation for a given segmentation approach.2528 Some of them have found that the so-called perceptual color spaces, e.g., CIELab and CIELuv, are the most appropriate when the resemblance to the human visual system is desirable. The main advantage of these color representations is that the Euclidean distance between two points is approximately proportional to the perceptual difference between the two colors represented by those points. Such a desirable characteristic is not fulfilled by the RGB color space. It is interesting to mention that recently, for the roughness index approximation, there have been studies in alternative color representations like CIELuv29 and HSV.30

Although some problems related with the histogram-based methods have been addressed by the RBM, a number of issues are still observed. Considering those limitations, in this article, we put forward a set of modifications in order to improve the segmentation performance: (1) a different threshold selection method, allowing an automatic adaptation of the peak selection criteria for a given image, (2) an adaptation of a region-merging process, which considers both the features and the spatial relationships among the resulting segments in the image. Furthermore, (3) an analysis and comparison of the use of perceptual color spaces are conducted in order to determine the more suited color representation for this segmentation approach. Experiments on an extensive database show that these improvements lead to better segmentation results in comparison with the original RBM and other state-of-the-art methods.

This article is organized as follows: in Sec. 2, preliminary concepts of the rough set theory, the histon, and the roughness index are presented. Section 3 describes the modifications and the adaptations carried out to improve the roughness index-based. In Sec. 4, the experiments and results are given, followed by concluding remarks in Sec. 5.

2.

Rough Set Theory, the Histon, and the Roughness Index

Rough set theory is one of the most recent approaches for modeling imperfect knowledge. This theory was proposed by Pawlak18 as an alternative to fuzzy sets and tolerance theory. A rough set is a representation of a vague concept using a pair of precise concepts called lower and upper approximations. The lower approximation is a description of the universe of objects that are known with certainty, whereas the upper approximation is the description of the objects that possibly belong to the set. From this concept of a rough set and in the context of image segmentation with histogram-based methods, Mohabey and Ray17 have developed the idea of the histon which can be considered as the upper approximation of a rough set.

In order to set the histon definition in the context of a histogram-based segmentation method, let us first define an image I(m,n,C) with M×N pixels size, where m and n are the image coordinates, m[0,M1] and n[0,N1]. The parameter C={c1,c2,,cj} denotes the space in which the image is represented, and ci is the information channel used in such representation. Usually, j=3 for color images, but it may take any positive value. Let us also consider Li as the maximum number of intensity values in the given channel ci. Therefore, I(m,n,ci)[0,Li1] is the intensity value for the component ci of the image at the coordinates (m,n).

The histogram of an image I is a well-known representation of the frequency distribution of all the intensities that occur in the image. The histogram of a certain color channel i is computed as in Eq. (1)

Eq. (1)

hi(g)=m=0M1n=0N1δ[I(m,n,ci)g],
where δ(·) is the Dirac impulse, and g is a given intensity value 0gLi1.

Assuming that the features on the surface of the objects are unvarying, each object in the image may be identified as a peak in the histogram. The association of pixels with intensities related with such peaks leads to the segmentation of the relevant objects in the scene. Unfortunately, such an assumption is not always true and variations in the features on the surface of the objects are commonly found, making the identification of peaks a challenging task. Toward the solution of these uncertainties, the histon is a representation that associates pixels that are similar in features and may belong to one specific object in the image. Additionally, such association is not limited to similarity in features, but also includes the relationship of pixels with their neighbors.

Regarding the histon definition as the upper approximation of a rough set, we consider the similarity between a pixel I(m,n,ci) and its neighbors within a window W of P×Q pixels size. The similarity is computed as the Euclidean distance obtained using Eq. (2).

Eq. (2)

d(m,n)=p,qWciC[I(m,n,ci)I(p,q,ci)]2.

The histon Hi, where i is a given color component in the color space, is computed as in Eq. (3).

Eq. (3)

Hi(g)=m=0M1n=0N1[1+X(m,n)]δ[I(m,n,ci)g],
where δ(·) is the Dirac impulse, g is the intensity value 0gL1, and X(·) is a matrix which records the pixels that are similar to its neighbors. X(·) is obtained as in Eq. (4).

Eq. (4)

X(m,n)={1,d(m,n)<Ex0,otherwise,
where Ex is the distance threshold for a pixel to be considered similar to its neighborhood. In order to process the pixels at the boundaries of the image in the matrix X, pixel values in the edge are mirrored outside the image instead of using zero values. This operation enables us to properly process the whole image under test.

From the above definitions, we can say that the histon, in analogy to the histogram, registers the number of pixels that are similar to its neighbors. For each pixel that is similar in features to its neighbors, the corresponding bin in its intensity channel ci is incremented twice. This double increment in the histon results in the heightening of peaks, corresponding to locally uniform intensities. The main advantage of using the histon, instead of the regular histogram, is that the histon is able to capture the local similarity, resulting in a representation tolerant to small intensity variations and furthermore, since the peaks are heightened, their detection is easier.

In the rough set theory, the lower and upper sets can be correlated using the concept of roughness index.19 The roughness index is a representation of the granularity or accuracy of an approximation set. In our scope, the roughness index is the relationship of the histogram and the histon for each intensity level g. The roughness index is defined as in Eq. (5).

Eq. (5)

ρi(g)=1|hi(g)||Hi(g)|,
where i is the corresponding color component, h is the histogram, H is the histon, and |·| denotes the cardinality in each intensity level g. The value of roughness is close to 1 when the cardinality of the histon is large in comparison with the cardinality of the histogram in a given intensity value. This situation occurs when there is a high similarity in the features on a given region. If there is a small similarity and high feature variability in the neighborhood, the roughness index tend to be close to 0, because the histon and the histogram have the same, or almost the same, cardinality. In a general sense, the histon and the roughness index give a global distribution of the uniform and connected regions in the image, and each peak represents each one of such regions.

From the roughness index array, a multithresholding method is applied for achieving the final image segmentation. Thresholds in each channel are automatically localized on the valleys between two significant peaks, which represent the meaningful objects in the scene. The final segmentation is the union of the segments for each channel. In this study, we use three color channels; however, it is worth to remark that it is possible to expand this approach for images that have more than three information channels.

3.

Improving a Rough Set Theory-Based Segmentation Approach

In this article, we propose to conduct a set of modifications to the RBM.19 In the RBM method, the selection of thresholds is carried out on the roughness index in each color component of the RGB color space. The criteria used for the selection of the significant peaks and thresholds are based on two nonadjustable rules that were empirically determined. The first one designates a specific height, and the other specifies a minimum distance between two peaks. The height of a significant peak must be above 20% of the average value of the roughness index for all the pixel intensities, and the distance between two potential significant peaks has to be higher than 10 intensity units.

In order to diminish the over-segmentation, the RBM performs a region-merging process where the fusion of two regions takes into account only the color similarity in the feature space, ignoring the spatial relation of the different segments.

The proposed improvements in this article lead to the segmentation approach illustrated in Fig. 1. From now on, this method is referred to as PRM, for perceptual roughness index-based method. In the beginning of the PRM, a color space transformation is applied to the input image, pursuing a representation closer to the human perception. Then, the roughness index computation, a multithresholding method, and an adaptive peak selection are performed. The main improvement in this step is the adaptive peak selection, where the criteria used for choosing the significant peaks change in accordance with the image content. At the end, the segmented image is obtained after a region-merging process, which takes into account both feature similarity and spatial relationships. Each block of Fig. 1 is described in the following subsections.

Fig. 1

The general process of the proposed segmentation approach [perceptual roughness index-based method (PRM)].

JEI_23_1_013024_f001.png

3.1.

Definition of the Color Spaces Under Analysis and Color Space Transformations

A color space is an abstract representation that describes colors as tuples of numbers, typically as three values or color components.31 In the context of image segmentation, it is known that the use of a given color representation has a relevant impact on the performance of a segmentation method.24 Different studies have been oriented to the determination of the best suited color representation for a given segmentation approach2528 and have concluded that the so-called perceptual color spaces provide better results. In this regard, and for our specific method, we explore the use of different color spaces and their impacts in the performance results. We have mainly explored the use of perceptual color spaces CIELab and CIELuv, because it has been found that they are the most appropriate when the resemblance to the human visual system is desirable. In this section, we describe the required transformations to carry an image from the RGB color space to the perceptual spaces explored in this study.

Given that the perceptual color space transformations are applied to the CIEXYZ space, the transformation of all the images in RGB to the CIEXYZ space must be carried out. The color representation CIE 1931 XYZ, best known as CIEXYZ, is one of the first color spaces obtained from a mathematical model of the human color perception. It was developed by the Commission Internationale de l’Èclairage (CIE) back in 1931.32 The transformation equation is presented in Eq. (6).

Eq. (6)

[XYZ]=[0.60690.17350.20040.29890.58660.11450.00000.06611.1162][rgb],
where r, g, b[0,1].

The CIE 1976 (L*, a*, b*) color space, better known as CIELab, is a space derived from the CIEXYZ color space. The main purpose of its development was to model a perceptually linear space. This means that the Euclidean distance between two points in the space is proportional to the perceptual difference of the colors they represent. The transformation equations to obtain the Lab components are defined from Eq. (7)–(10).

Eq. (7)

f(t)={t1/3,t>α3t/(3α2)+16/116tα3

Eq. (8)

L=116f(Y/Yn)16

Eq. (9)

a=500[f(X/Xn)f(Y/Yn)]

Eq. (10)

b=200[f(Y/Yn)f(Z/Zn)],
where α=6/29, and (Xn,Yn,Zn) is the reference white for the scene in CIEXYZ. In this work, we have used the standard for a daylight illuminant D65, where Xn=95.05, Yn=100, and Zn=108.88.

In the same manner as the CIELab color space, the CIELuv was developed by the CIE in order to obtain a perceptually linear space. The transformation equations to take from the CIEXYZ space to the CIELuv space are defined in Eqs. (11)–(15).

Eq. (11)

u=4XX+15Y+3Z

Eq. (12)

v=9YX+15Y+3Z

Eq. (13)

L=116(Y/Yn)1/316

Eq. (14)

u=13L(uun)

Eq. (15)

v=13L(vvn),
where Yn is the Y component of the reference white in CIEXYZ, and un and vn are the chromaticity coordinates of the reference white. The inverse transformations of these color spaces are not required because in our study, there is no need to return to the RGB color representation.

In the context of image segmentation, it is known that the use of a given color space has a relevant impact on the general performance. Therefore, the first issue to address in our methodology is to determine the most appropriate color space to be used. Although the RGB space is the most used in the literature, this representation is not useful to mimic the higher level processes that allow the perception of color of the human visual system.5 For this reason, we prefer to review the benefits of the representation of the color in terms of a perceptually uniform space. The adaptation of the PRM procedure to use perceptual color spaces is simple. Originally, the RBM approach uses the RGB color space with Li=256 intensities in each channel i. Once the whole image has been transformed to a given color space, each component is fitted to the range of [0, 255] by adjusting the dynamic range of the image.

3.2.

Roughness Index-Based Segmentation

After the transformation and adjustment of the color representation, the second issue to address is the peak/threshold selection procedure for the roughness index in order to perform the multithreshold segmentation. Considering that the selection criteria in RBM are fixed, there is no guarantee that the best peaks are found for all types of images. Therefore, the selection of the thresholds must be adaptive, in such a way that different height and distance criteria are used for different images.

The corresponding block for the roughness index-based segmentation is described in Fig. 2. First, the histogram hi, the histon Hi, and the roughness index ρi for each color component i are computed. After that, in order to reduce the presence of noise, we filter the roughness index input vector ρi(g). Concerning this task, we have tested several linear and nonlinear filters, like averaging filters and rank filters with different window sizes. We have found that the linear filter shown in Eq. (16) offers the best results.

Eq. (16)

ρi(g)=ρi(g2)+ρi(g1)+ρi(g)+ρi(g+1)+ρi(g+2)5.

Fig. 2

Internal steps of the roughness index-based method for segmentation.

JEI_23_1_013024_f002.png

After the reduction of possible spurious maxima, we estimate the set of significant peaks adaptively for each image. This is performed by computing the minimum height Th and the minimum distance Td between two peaks that have to be attained by a peak to be considered significant.

First, the set of all local maxima P={p1,p2,,pk} is obtained from the filtered roughness index ρ, where a local maximum pk is

Eq. (17)

pk={g|ρ(g)>ρ(g1)ρ(g)>ρ(g+1)}.

After we have obtained the k local maxima, we compute the mean μ and the standard deviation σ of their corresponding heights [see Eqs. (18) and (19)].

Eq. (18)

μ=1ki=0kρ(pi),

Eq. (19)

σ=1ki=0k[ρ(pi)μ]2.

The same procedure is followed for the distance discrimination. Two peaks that are above the height threshold Th, which is quantified with Th=μσ, must also have a distance to the next peak greater than a distance threshold Td. In our method, the distance threshold is computed in the same manner as the height threshold Th. The mean and the standard deviation of the corresponding distances are computed. In the case that two peaks are above Th but their distance is below Td, the higher peak is selected as significant. The final set of threshold values are found on the minimum value between two significant peaks.

3.3.

Region Merging

A final point to consider is the region-merging procedure. The region merging is a common tool used to reduce over-segmentation issues. The merging step broadly consists of fusing small regions with neighbor and bigger regions. The fusion criteria may vary from method to method. In the previously proposed RBM, the region merging is carried out following the algorithm by Cheng et al.,16 where the fusion of two regions takes into account only the color similarity in the feature space, ignoring the spatial relationship of the different segments.

For the region-merging step in our PRM, we take into account both the color similarity and the spatial relationship between regions. The strategy of our method first identifies the small regions whose number of pixels is less than a given threshold. From the experiments, detailed in the next section, we have found that a good minimum number of pixels in a given region to be considered is as small as 0.2% of the whole image size. Once we have identified all the small regions, they are fused with the most appropriate neighbor region. Such a region is one that minimizes the distance between the color components of the segments and maximizes the number of connected pixels between those two regions. Hence, a small region is merged with its neighbor that is more similar in features and has more connected pixels. In case of conflict, the feature similarity is privileged. The process is illustrated in Fig. 3.

Fig. 3

Initial regions (a) and the final segmentation map after the region-merging process (b) using the two criteria of feature similarity and spatial connectivity.

JEI_23_1_013024_f003.png

4.

Experiments and Results

In this section, we present experiments on natural scene images in order to evaluate: (1) the more suited color representation for our segmentation approach, PRM, and (2) the performance of the PRM in comparison with other state-of-the-art approaches. In these experiments, the Berkeley Segmentation Data Set and Benchmarks 500 (BSDS500)33 is used. This dataset is a well-known empirical basis for the evaluation of segmentation algorithms. The advantage of this dataset is that, for each image, a ground truth is available and can be used to quantify the reliability of a given method. Moreover, the diversity of content of this dataset, including landscapes, animals, buildings, and portraits, makes it a challenge for any segmentation algorithm. The BDSDS500 is an extension of the Berkeley Segmentation Data Set 300 (BSDS300).34 The BSDS300 consists of 200 training and 100 test images, whereas the BSDS500 proposes the 300 images of BSDS300 for training and adds 200 new images for testing.

For a quantitative evaluation of our segmentation method, three widely used metrics are adopted: the Probabilistic Rand-Index (PRI),35 the Global Consistency Error (GCE),34 and the Boundary Displacement Error (BDE).36 These three metrics evaluate the segmentation result from different perspectives. The BDE measures the average displacement error between the boundary pixels of the segmented image and the closest boundary pixels in the ground-truth segmentations. The GCE evaluates the segments as sets of pixels, and it measures the inconsistencies between the resulting sets in the segmented outcome and in the ground truth. An interesting feature of the GCE is that it is tolerant to refinement in the segmentation. This means that if one segmentation is a subset or a refinement of another segmentation, the GCE value tends to be zero. The PRI counts the number of pairs of pixels whose labels are consistent in both the ground truth and the segmented outcome. This measure is considered the most important in our evaluation because, as pointed out by Yang et al.,37 there is a good correlation between the PRI and the human perception through the hand-labeled segmentations. The PRI measure appears in the range [0, 1], where a resulting value closer to 1 is desirable. For the BDE and GCE, values closer to 0 are better. In order to compute these measures, we have used the MATLAB source code, made publicly available by Yang et al.37

4.1.

Performance Evaluation in Different Color Spaces

Before presenting the comparison in different color spaces, let us remark that the rough set-based segmentation methods depend on two parameters (W,Ex), the size of the window W and the expanse Ex, which is the similarity tolerance among colors. Hence, it is important to estimate the best parameters to be used for each evaluated color space and to determine which one is the best representation for our approach.

In the RBM that uses the RGB color space, the best couple of parameters proposed by the authors is (3, 100). In contrast, as the perceptual color spaces have different shapes in comparison with the RGB color space, we must estimate the more suitable parameters for them. The evaluation of the best combination of parameters is carried out using the 300 training images taken from the BSDS500 and are quantitatively assessed with the PRI, BDE, and GCE measures. We have exhaustively searched for the best window size W in the set {3,5,7,9,11} and the expanse Ex in the set {50,100,150,,400}. We have found that the best parameters for the RGB space using our method are (5, 150). In the case of the CIELab space, the best set is (7, 150). Using the CIELuv color space, the best parameters found are (5, 300).

The quantitative comparison of the use of different color representations in the PRM was carried out. The corresponding PRMRGB, PRMLab, and PRMLuv are implementations of our PRM in RGB, CIELab, and CIELuv color spaces, respectively. Each implementation uses the best parameter set for the corresponding color space. The average PRI, GCE, and BDE results for each color space with the 300 training images are detailed in Table 1, where the best result for each measure is highlighted with bold typeface. In this table, the higher PRI average is achieved by PRMLab with a value of 0.760. The use of the CIELuv space is slightly behind 0.752, and the lower average value is achieved by the PRM in RGB with a value of 0.737. In Table 1, the standard deviation and the number of images with a PRI value higher than 0.7 are also presented. The value of 0.7 is taken, because it is empirically considered that images that obtain that PRI value, or above it, are good segmentations. In the same manner, the best results are obtained with the PRMLab, with the lowest standard deviation and the higher number of images with PRI scores above 0.7. For the GCE and BDE averages, the best results are achieved by PRMLuv with 0.203 and 11.42, respectively. The PRMLab is slightly behind with 0.212 and 11.59 in average, for the same error measures.

Table 1

Average performance and comparison in three color spaces using the 300 training images in the BSDS500.

PRMRGBPRMLuvPRMLab
PRI0.7370.7520.760
Standard deviation PRI0.1330.1330.126
PRI>0.7 (# images)210219226
GCE0.2450.2030.213
BDE11.7411.4211.59
Note: The best performance for each measure is shown in bold.

In order to explore the impact on the performance with a different set of images than the training set and to compare the results, we have tested the PRM on the 200 test images in the BSDS500. In Figs. 4, 5, and 6, the plots corresponding to the PRI, GCE, and BDE measures are provided for each test image. The PRI values are plotted in increasing order, whereas for the GCE and BDE, the values are plotted in decreasing order. Hence, a given index in the horizontal axis may not represent the same image across the algorithms. In this way, we can evaluate the quality tendencies of each method and compare them. As we can see from these figures, the curves related to the use of perceptual color spaces are consistently better than the curve representing the RGB space. However, it is observed that both PRMLab and PRMLuv curves are very close and from a visual inspection, it is hard to determine which space is the most appropriate for our method. In this case, the quantitative results enable us to do a much clearer distinction between the performance of PRMLab and PRMLuv. The corresponding average results for the 200 test images are detailed in Table 2. It is likely to be noticed that the best performance for each quantitative measure is achieved by the PRMLuv, which means that the use of CIELuv color space in our method is the most suitable and provides more stability. The PRI value is 0.768 with a low standard deviation of 0.120, and 150 images with a PRI result above 0.7. In relation with the error measures GCE and BDE, the PRMLuv is the one that attains the minimum error values.

Fig. 4

Comparison of the Probabilistic Rand-Index (PRI) results of our approach in the three color spaces RGB, CIELab, and CIELuv. A higher PRI value is desirable.

JEI_23_1_013024_f004.png

Fig. 5

Comparison of the Global Consistency Error (GCE) results of our approach in the three color spaces RGB, CIELab, and CIELuv. A low GCE value is desirable.

JEI_23_1_013024_f005.png

Fig. 6

Comparison of the Boundary Displacement Error (BDE) results of our approach in the three color spaces RGB, CIELab, and CIELuv. A low BDE value is desirable.

JEI_23_1_013024_f006.png

Table 2

Average performance and comparison in three color spaces using the 200 test images in the BSDS500.

PRMRGBPRMLuvPRMLab
PRI0.7380.7680.754
Standard deviation PRI0.1420.1200.132
PRI>0.7 (# images)137150143
GCE0.2290.2050.219
BDE12.5010.7210.87
Note: The best performance for each measure is shown in bold.

Qualitative examples of the segmentation results using PRM are shown in Fig. 7. In each row, the original image and the corresponding outcome for each color space are visually compared. The original image is shown in the first row, while the resultant segmentation of the PRM using the RGB space is shown in the second row. The corresponding segmentations of the PRMLuv and PRMLab are shown in the third and fourth rows, respectively. From this qualitative comparison, we can observe that the resulting segmentations of the perceptual spaces outperform the results using the RGB color representation. It can be seen that, in these examples, the outputs from the PRMRGB show a clear over-segmentation, and the PRMLuv and PRMLab succeed in associating regions with similar colors.

Fig. 7

Qualitative comparison of three samples (first row) out of 500 images from the BSDS500 in the different color spaces under analysis (RGB in the second row and CIELuv and CIELab on the third and fourth rows, respectively).

JEI_23_1_013024_f007.png

4.2.

Performance Comparison with Other Methods

After the study of the PRM in different color spaces, a comparison of our approach in the CIELuv color space PRMLuv against other rough set theory-based segmentation methods is conducted. The comparison is carried out with the roughness index-based technique (RBM)19 and the roughness approach through smoothing local difference (referred to as RSLD).29 The RSLD method is of special interest, since it is a roughness index-based performed on the perceptual color space CIELuv. The results for the normalized cuts method (NCuts)38 and the mean shift segmentation approach11 are also included. The NCuts and mean shift methods are considered in this comparison because of their influence as widely used methods in image segmentation tasks. Besides, they are considered as de facto standard references for evaluation purposes. It is important to mention that the outcomes of the RBM and the RSLD methods were obtained with our implementation of the algorithms described by the authors. The outcomes from the NCuts and mean shift methods were obtained with publicly available code.

The average PRI, GCE, and BDE results for all methods, using the 300 images for training from BSDS500, are displayed in Table 3. From this table, we can see that the higher average value of 0.752 is achieved by PRMLuv, followed by the RBM with an average of 0.743. The lowest PRIaverage is obtained with the RSLD method with 0.620. In this table, again, our method obtains more images with PRI values higher than 0.7. In this case, the approximation with the lowest standard deviation is the NCuts method with 0.119. However, our approximation is the second more precise method with a standard deviation of 0.133. In the case of GCE and BDE measures, the minor error values are attained by the PRMLuv.

Table 3

Average performance and comparison with other methods using the 300 training images in the BSDS500.

PRMLuvRBMRSLDMean shiftNCuts
PRI0.7520.7430.6200.6530.722
Standard deviation PRI0.1330.1350.1760.2040.119
PRI>0.7 (# images)219180114141200
GCE0.2030.3020.2300.2700.298
BDE11.4215.7515.1811.9814.05
Note: The best performance for each measure is shown in bold.

The corresponding results for the 200 test images in the BSDS500 were also obtained and compared. In Figs. 8, 9, and 10, the PRI, GCE, and BDE values, respectively, are plotted. We can observe from Fig. 8 that the PRMLuv and mean shift corresponding results are very close on the top of the curves. It is interesting to notice that the NCuts curve in this figure records higher PRI values than the mean shift, RBM, and RSLD methods for the first 40 images and keeps its superiority over the RSLD method until image 90. Nevertheless, since the NCuts corresponding curve grows slowly, it drops below the rest of the algorithms from there on. The reason of this trend is that most of the resultant segmentations using NCuts attain a PRI value lower than 0.8 and that they tend to be very close to the mean of 0.722.

Fig. 8

Comparison of the PRI results of our method PRMLuv with other rough set-based methods (RBM and RSLD) and reference methods (NCuts and mean shift) using the 200 test images from the BSDS500. A high PRI value is desirable.

JEI_23_1_013024_f008.png

Fig. 9

Comparison of the GCE results of the PRMLuv with RBM and RSLD and the reference methods NCuts and mean shift using the 200 test images from the BSDS500. A low GCE value is desirable.

JEI_23_1_013024_f009.png

Fig. 10

Comparison of the BDE results of the PRMLuv with RBM and RSLD and the reference methods NCuts and mean shift using the 200 test images from the BSDS500. A low BDE value is desirable.

JEI_23_1_013024_f010.png

In the case of Fig. 9, the curve with the lowest values is the one representing the mean shift approach and the curve with the highest errors is the NCuts one. It is difficult to make a visual separation of methods in Fig. 10, since the PRMLuv, RBM, RSLD, and mean shift curves are very close. The corresponding curve of the NCuts for the BDE measure is the only one that stands out from the rest of the curves, having the highest error values.

The averages of the quantitative measures for each method using the specific test set of images from the BSDS500 are shown in Table 4. For this set of 200 images, the higher PRI is achieved by the PRMLuv with an average of 0.768, a standard deviation of 0.120, and 150 of the 200 images with a PRI value higher than 0.7. The second best is the mean shift method with a PRI average of 0.759 with a standard deviation of 0.148 and 137 images with a PRI value above 0.7. The lowest errors measured with the GCE and BDE are reached by the mean shift with 0.18 and the PRMLuv with 10.72, respectively. In both cases, the largest errors are obtained by the NCuts. These errors occur because in the original method, the color image is processed using only the lightness component, hence ignoring the chromatic information.

Table 4

Average performance and comparison with other methods using the 200 test images in the BSDS500.

PRMLuvRBMRSLDMean shiftNCuts
PRI0.7680.7340.7070.7590.708
Standard deviation PRI0.1200.1470.1540.1480.098
PRI>0.7 (# images)150138117137137
GCE0.2050.2240.2170.1800.317
BDE10.7212.6113.8811.0214.01
Note: The best performance for each measure is shown in bold.

These results of the PRMLuv indicates that this method has the best segmentation performance with high consistency and low error. In general, it is observed that the use of the proposed significant peaks selection, jointly with the merging strategy and the use of perceptual color spaces, improves the segmentation results with respect to the original proposal RBM. Moreover, the presented modifications allow better results in comparison with other classic segmentation methods in terms of the PRI measure.

5.

Conclusion

In this article, a set of modifications was proposed in order to improve a rough set theory-based segmentation method. This methodology takes advantage of the integration of spatial information about the pixels and the association of similar colors. The spatial information is added in two places: (1) within the histon representation, through the similarity computation of neighbor pixels, and (2) in the region-merging process, in which not only the similarity in the feature space is taken into account, but also the connectivity between two segments is considered. The proposed improvements are basically three. First, the use of perceptually uniform color spaces instead of the RGB color representation. From a quantitative evaluation, we have found that the CIELuv color space is the most suited representation for our specific segmentation method; meanwhile the CIELab space has a performance only slightly inferior. The use of a perceptual color representation allows our system to improve performance in the association of similar colors. The second improvement is an adaptive selection of the most suitable thresholds for a given image. The third one is the use of a region-merging process, which includes constraints about both spatial relation and color similarity, reducing over-segmentation problems. Experiments on an extensive database show that these modifications result in a method with better outcomes, outperforming other rough set theory–based approaches and classic reference segmentation algorithms.

Acknowledgments

R. A. Lizarraga-Morales and A. J. Patlan-Rosales acknowledge the Mexican National Council of Science and Technology (CONACyT) for the grant provided.

References

1. 

L. ShapiroG. Stockman, Computer Vision, Prentice-Hall, Upper Saddle River, New Jersey (2001). Google Scholar

2. 

K.-S. FuJ. K. Mui, “A survey on image segmentation,” Pattern Recognit., 13 (1), 3 –16 (1981). http://dx.doi.org/10.1016/0031-3203(81)90028-5 PTNRA8 0031-3203 Google Scholar

3. 

N. R. PalS. K. Pal, “A review on image segmentation techniques,” Pattern Recognit., 26 (9), 1277 –1294 (1993). http://dx.doi.org/10.1016/0031-3203(93)90135-J PTNRA8 0031-3203 Google Scholar

4. 

H. Chenget al., “Color image segmentation: advances and prospects,” Pattern Recognit., 34 (12), 2259 –2281 (2001). http://dx.doi.org/10.1016/S0031-3203(00)00149-7 PTNRA8 0031-3203 Google Scholar

5. 

L. LuccheseS. Mitra, “Color image segmentation: a state-of-the-art survey,” Proc. Indian Natl. Sci. Acad., 67 (2), 207 –221 (2001). PIPSBD 0370-0046 Google Scholar

6. 

S. R. VantaramE. Saber, “Survey of contemporary trends in color image segmentation,” J. Electron. Imaging, 21 (4), 040901 (2012). http://dx.doi.org/10.1117/1.JEI.21.4.040901 JEIME5 1017-9909 Google Scholar

7. 

X. Wu, “Adaptive split-and-merge segmentation based on piecewise least-square approximation,” IEEE Trans. Pattern Anal. Mach. Intell., 15 (8), 808 –815 (1993). http://dx.doi.org/10.1109/34.236248 ITPIDJ 0162-8828 Google Scholar

8. 

T. OjalaM. Pietikäinen, “Unsupervised texture segmentation using feature distributions,” Pattern Recognit., 32 (3), 477 –486 (1999). http://dx.doi.org/10.1016/S0031-3203(98)00038-7 PTNRA8 0031-3203 Google Scholar

9. 

J. Fanet al., “Automatic image segmentation by integrating color-edge extraction and seeded region growing,” IEEE Trans. Image Process., 10 (10), 1454 –1466 (2001). http://dx.doi.org/10.1109/83.951532 IIPRE4 1057-7149 Google Scholar

10. 

S. Y. WanW. E. Higgins, “Symmetric region growing,” IEEE Trans. Image Process., 12 (9), 1007 –1015 (2003). http://dx.doi.org/10.1109/TIP.2003.815258 IIPRE4 1057-7149 Google Scholar

11. 

D. ComaniciuP. Meer, “Mean shift: a robust approach toward feature space analysis,” IEEE Trans. Pattern Anal. Mach. Intell., 24 (5), 603 –619 (2002). http://dx.doi.org/10.1109/34.1000236 ITPIDJ 0162-8828 Google Scholar

12. 

T. Kanungoet al., “An efficient k-means clustering algorithm: analysis and implementation,” IEEE Trans. Pattern Anal. Mach. Intell., 24 (7), 881 –892 (2002). http://dx.doi.org/10.1109/TPAMI.2002.1017616 ITPIDJ 0162-8828 Google Scholar

13. 

M. Mignotte, “Segmentation by fusion of histogram-based k-means clusters in different color spaces,” IEEE Trans. Image Process., 17 (5), 780 –787 (2008). http://dx.doi.org/10.1109/TIP.2008.920761 IIPRE4 1057-7149 Google Scholar

14. 

Y. S. ChenB. T. ChenW. H. Hsu, “Efficient fuzzy c-means clustering for image data,” J. Electron. Imaging, 14 (1), 013017 (2005). http://dx.doi.org/10.1117/1.1879012 JEIME5 1017-9909 Google Scholar

15. 

F. KurugolluB. SankurA. Harmanci, “Color image segmentation using histogram multithresholding and fusion,” Image Vision Comput., 19 (13), 915 –928 (2001). http://dx.doi.org/10.1016/S0262-8856(01)00052-X IVCODK 0262-8856 Google Scholar

16. 

H. ChengX. JiangJ. Wang, “Color image segmentation based on homogram thresholding and region merging,” Pattern Recognit., 35 (2), 373 –393 (2002). http://dx.doi.org/10.1016/S0031-3203(01)00054-1 PTNRA8 0031-3203 Google Scholar

17. 

A. MohabeyA. Ray, “Rough set theory based segmentation of color images,” in Fuzzy Information Processing Society, 2000. NAFIPS. 19th Int. Conf. of the North American, 338 –342 (2000). Google Scholar

18. 

Z. Pawlak, “Rough sets,” Int. J. Comput. Inf. Sci., 11 (5), 341 –356 (1982). http://dx.doi.org/10.1007/BF01001956 IJCIAH 0091-7036 Google Scholar

19. 

M. M. MushrifA. K. Ray, “Color image segmentation: rough-set theoretic approach,” Pattern Recognit. Lett., 29 (4), 483 –493 (2008). http://dx.doi.org/10.1016/j.patrec.2007.10.026 PRLEDG 0167-8655 Google Scholar

20. 

N. I. GhaliW. G. Abd-ElmonimA. E. Hassanien, “Object-based image retrieval system using rough set approach,” Adv. Reasoning Based Image Process. Intell. Syst., 29 315 –329 (2012). http://dx.doi.org/10.1007/978-3-642-24693-7_10 Google Scholar

21. 

P. ChiranjeeviS. Sengupta, “Robust detection of moving objects in video sequences through rough set theory framework,” Image Vision Comput., 30 (11), 829 –842 (2012). http://dx.doi.org/10.1016/j.imavis.2012.06.015 IVCODK 0262-8856 Google Scholar

22. 

S.-J. HuZ.-G. Shi, “A new approach for color text segmentation based on rough set theory,” in Proc. 3rd Int. Conf. Teaching and Computational Science (WTCS 2009), 281 –289 (2012). http://dx.doi.org/10.1007/978-3-642-11276-8_36 Google Scholar

23. 

A. E. Hassanienet al., “Rough sets and near sets in medical imaging: a review,” IEEE Trans. Inf. Technol. Biomed., 13 (6), 955 –968 (2009). http://dx.doi.org/10.1109/TITB.2009.2017017 ITIBFX 1089-7771 Google Scholar

24. 

L. Businet al., “Color space selection for color image segmentation by spectral clustering,” in 2009 IEEE Int. Conf. Signal and Image Processing Applications, 262 –267 (2009). Google Scholar

25. 

P. GuoM. Lyu, “A study on color space selection for determining image segmentation region number,” in Proc. Int. Conf. Artificial Intelligence, 1127 –1132 (2000). http://dx.doi.org/10.1.1.23.9610 Google Scholar

26. 

L. BusinN. VandenbrouckeL. Macaire, “Color spaces and image segmentation,” Adv. Imaging Electron Phys., 151 (7), 65 –168 (2008). http://dx.doi.org/10.1016/S1076-5670(07)00402-8 AIEPFQ 1076-5670 Google Scholar

27. 

F. Correa-TomeR. Sanchez-YanezV. Ayala-Ramirez, “Comparison of perceptual color spaces for natural image segmentation tasks,” Opt. Eng., 50 (11), 117203 (2011). http://dx.doi.org/10.1117/1.3651799 OPEGAR 0091-3286 Google Scholar

28. 

L. ShafarenkoH. PetrouJ. Kittler, “Histogram-based segmentation in a perceptually uniform color space,” IEEE Trans. Image Process., 7 (9), 1354 –1358 (1998). http://dx.doi.org/10.1109/83.709666 IIPRE4 1057-7149 Google Scholar

29. 

X. Yueet al., “Roughness approach to color image segmentation through smoothing local difference,” Rough Sets and Knowledge Technology, Lecture Notes in Computer Science, 434 –439 Springer, Berlin, Heidelberg (2011). http://dx.doi.org/10.1007/978-3-642-24425-4_57 Google Scholar

30. 

A. FeroneS. PalA. Petrosino, “A rough-fuzzy HSV color histogram for image segmentation,” Image Analysis and Processing ICIAP 2011, Lecture Notes in Computer Science, 29 –37 Springer, Berlin, Heidelberg (2011). http://dx.doi.org/10.1007/978-3-642-24085-0_4 Google Scholar

31. 

M. Fairchild, Color Appearance Models, 2nd ed.Wiley, Hoboken, New Jersey (2005). Google Scholar

32. 

T. SmithJ. Guild, “The C.I.E. colorimetric standards and their use,” Trans. Opt. Soc., 33 (3), 73 –134 (1932). http://dx.doi.org/10.1088/1475-4878/33/3/301 1475-4878 Google Scholar

33. 

P. Arbelaezet al., “Contour detection and hierarchical image segmentation,” IEEE Trans. Pattern Anal. Mach. Intell., 33 (5), 898 –916 (2011). http://dx.doi.org/10.1109/TPAMI.2010.161 ITPIDJ 0162-8828 Google Scholar

34. 

D. Martinet al., “A database of human segmented natural images and its application to evaluating segmentation algorithms and measuring ecological statistics,” in Proc. 8th Int. Conf. Computer Vision, 416 –423 (2001). Google Scholar

35. 

R. UnnikrishnanC. PantofaruM. Hebert, “A measure for objective evaluation of image segmentation algorithms,” in Proc. IEEE Conf. Computer Vision and Pattern Recognition, 34 –41 (2005). http://dx.doi.org/10.1109/CVPR.2005.390 Google Scholar

36. 

J. Freixenetet al., “Yet another survey on image segmentation: region and boundary information integration,” Computer Vision ECCV 2002, Lecture Notes in Computer Science, 408 –422 Springer, Berlin, Heidelberg (2002). http://dx.doi.org/10.1007/3-540-47977-5_27 Google Scholar

37. 

A. Y. Yanget al., “Unsupervised segmentation of natural images via lossy data compression,” Comput. Vision Image Understanding, 110 (2), 212 –225 (2008). http://dx.doi.org/10.1016/j.cviu.2007.07.005 CVIUF4 1077-3142 Google Scholar

38. 

J. ShiJ. Malik, “Normalized cuts and image segmentation,” IEEE Trans. Pattern Anal. Mach. Intell., 22 (8), 888 –905 (2000). http://dx.doi.org/10.1109/34.868688 ITPIDJ 0162-8828 Google Scholar

Biography

Rocio A. Lizarraga-Morales received the BEng degree in electronics in 2005 from the Instituto Tecnológico de Mazatlán and the MEng degree in electrical engineering in 2009 from the Universidad de Guanajuato, Mexico. She is currently working toward her DEng degree also at the Universidad de Guanajuato. Her current research interests include image and signal processing, pattern recognition, and computer vision.

Raul E. Sanchez-Yanez concluded his studies of Doctor of Science (optics) at the Centro de Investigaciones en Óptica (Leon, Mexico) in 2002. He also has a MEng degree in electrical engineering and a BEng in electronics, both from the Universidad de Guanajuato, where he has been a tenure track professor since 2003. His main research interests include color and texture analysis for computer vision tasks and the computational intelligence applications in feature extraction and decision making.

Victor Ayala-Ramirez received his BEng in electronics and the MEng in electrical engineering from the Universidad de Guanajuato in 1989 and 1994, respectively, and the PhD degree on industrial computer science from Université PaulSabatier (Toulouse, France) in 2000. He has been a tenure track professor at the Universidad de Guanajuato, Mexico, since 1993. His main research interest is the design and development of soft computing techniques for applications in computer vision and mobile robotics.

Alberto J. Patlan-Rosales received his BEng in computer systems in 2012 from the Universidad de Guanajuato, Mexico. His current research interests include image processing, computer vision, pattern recognition, and rough sets.

CC BY: © The Authors. Published by SPIE under a Creative Commons Attribution 4.0 Unported License. Distribution or reproduction of this work in whole or in part requires full attribution of the original publication, including its DOI.
Rocio A. Lizarraga-Morales, Raul E. Sanchez-Yanez, Victor Ayala-Ramirez, and Alberto J. Patlan-Rosales "Improving a rough set theory-based segmentation approach using adaptable threshold selection and perceptual color spaces," Journal of Electronic Imaging 23(1), 013024 (18 February 2014). https://doi.org/10.1117/1.JEI.23.1.013024
Published: 18 February 2014
Lens.org Logo
CITATIONS
Cited by 7 scholarly publications.
Advertisement
Advertisement
KEYWORDS
Image segmentation

RGB color model

Image processing

Color image segmentation

Databases

Nonlinear filtering

Image processing algorithms and systems

Back to Top