Region-based Image Segmentation by Watershed Partition and DCT Energy Compaction

Chi-Man Pun, Ning-Yu An, C. L. Philip ChenInt. J. Comput. Intell. Syst 2012

Abstract

This paper presents a hybrid image segmentation framework that integrates the boundary-finding precision of the watershed transform with the texture-matching capabilities of the Discrete Cosine Transform (DCT). By employing DCT energy compaction to compare irregular image regions, the proposed method achieves robust segmentation aligned with human perception while maintaining computational efficiency compared to traditional texture-based methods.

Introduction

Image segmentation remains a fundamental challenge in computer vision, primarily due to two persistent issues: the over-segmentation inherent in the classic watershed algorithm and the difficulty of mathematically defining "texture" for efficient region comparison. While methods like Gabor filters are effective for texture analysis, their high computational cost limits scalability. This research addresses these gaps through a multi-stage merging process that utilizes statistical features for initial refinement and spectral features for final object recognition.

Methodology

The proposed segmentation algorithm operates in three distinct stages, as illustrated in the overall framework (Figure 1).

Figure 1: Overview of the multi-stage image segmentation framework.

1. Improved Watershed Partitioning

To mitigate noise-induced over-segmentation, a Sobel filter is first applied for edge detection, followed by a marker-controlled method. This approach suppresses insignificant local minima, yielding an initial set of a few hundred disjoint regions. This stage effectively cleans up the initial watershed output to a manageable number of fragments.

2. Statistical Region Merging

Small patches are merged based on a "region cost" calculated from pixel count, mean intensity, and intensity variance. This stage reduces the image to fewer than 100 regions based purely on brightness and local contrast, mimicking the way human vision identifies large blocks of light and dark.

3. Spectral-based Merging

The core innovation lies in using the Discrete Cosine Transform (DCT) to merge regions sharing similar textures but differing in brightness. Because DCT requires rectangular inputs and watershed regions are irregular, the authors developed a "rolling ball" algorithm to identify the largest possible rectangle within each region to represent its texture (Figure 2).

Figure 2: The "Maximum Rectangle Trick" used to extract rectangular patches from irregular watershed regions for DCT analysis.

Texture similarity is then determined through energy compaction. The DCT frequency matrix is divided into nine bands, and the "energy" (sum of absolute values) in these bands is compared to identify matching patterns. This allows the algorithm to recognize that different-looking areas (e.g., hair or foliage) are part of the same textured object.

Experimental Evaluation

The approach was evaluated using a synthetic texture set of 40 images and the Berkeley Segmentation Dataset (BSDS). The DCT energy compaction method correctly identified matching textures 85% of the time in synthetic tests. On the BSDS benchmark, the algorithm achieved high recall scores (>0.80), indicating successful capture of human-annotated boundaries. Comparisons with the Normalized Cut (N-Cut) algorithm showed that the proposed method produces more precise boundaries and handles complex textures, such as animal fur, more effectively than N-Cut.

Conclusion

The integration of DCT for texture analysis provides a computationally efficient alternative to traditional filters by packing vital visual information into a few coefficients. While currently limited to grayscale images and sensitive to manual parameter tuning, future work aims to incorporate color information and develop adaptive thresholding techniques to enhance the algorithm's versatility across diverse image complexities.

Summary updated

BibTeX
@article{pun2012region,
  author = {Chi-Man Pun and Ning-Yu An and C. L. Philip Chen},
  title = {{Region-based Image Segmentation by Watershed Partition and DCT Energy Compaction}},
  journal = {Int. J. Comput. Intell. Syst},
  year = {2012},
  doi = {10.1080/18756891.2012.670521},
}
Figure