Abstract
We address the problem of texture segmentation by grouping dense pixel-wise descriptors. We introduce and construct learned Shape-Tailored Descriptors that aggregate image statistics only within regions of interest to avoid mixing statistics of different textures, and that are invariant to complex nuisances (e.g., illumination, perspective and deformations). This is accomplished by training a neural network to discriminate base shape-tailored descriptors of oriented gradients at various scales. These descriptors are defined through partial differential equations to obtain data at various scales in arbitrarily shaped regions. We formulate and optimize a joint optimization problem in the segmentation and descriptors to discriminate these base descriptors using the learned metric, equivalent to grouping learned descriptors. We test the method on datasets to illustrate the effect of both the shape-tailored and learned properties of the descriptors. Experiments show that the descriptors learned on a small dataset of segmented images generalize well to unseen textures in other datasets, showing the generic nature of these descriptors. We show state-of-the-art results on texture segmentation benchmarks.
Introduction
Texture segmentation—the process of partitioning an image into regions based on underlying patterns—presents a fundamental "chicken-and-egg" challenge. To accurately describe a texture at a specific pixel, one must aggregate statistics from its neighborhood. However, if this neighborhood crosses a boundary into a different texture, the statistics become "polluted," leading to inaccurate classification at the boundaries. Ideally, statistics should only be aggregated within the same texture region, but the boundaries of these regions are unknown until the segmentation is complete.
Furthermore, real-world textures are subject to complex nuisances such as illumination changes, shadows, and perspective shifts. Traditional hand-crafted descriptors often fail to remain invariant under these conditions. This paper introduces Learned Shape-Tailored Descriptors (STLD), which utilize Partial Differential Equations (PDEs) to ensure boundary awareness and Siamese neural networks to achieve invariance to environmental nuisances.
Methodology
Base Shape-Tailored Descriptors
The foundation of the approach lies in "base" descriptors, including color channels and oriented gradients, defined as solutions to Poisson-type PDEs. By solving these PDEs exclusively within a specific region $R$, the resulting descriptors are inherently "shape-tailored." They aggregate information only within the region's boundaries, preventing the leakage of statistics across different textures.
Metric Learning via Siamese Networks
To overcome the limitations of hand-crafted features in the face of complex nuisances, the authors employ a Siamese neural network architecture. The network is trained to learn a metric that minimizes the distance between descriptors from the same texture while maximizing the distance between descriptors from different textures.
Joint Optimization
At inference, the system performs a joint optimization. Starting with an initial region estimate, it calculates learned descriptors within those shapes and subsequently updates the boundaries to better group similar descriptors. This iterative process continues until the segmentation converges. Notably, the network is trained using "perturbed" ground truth regions (dilated or eroded) to ensure robustness when initial boundary guesses are imprecise.
Experimental Results
The researchers evaluated the STLD method across several benchmarks, including the Real World Texture Dataset, Brodatz Synthetic Dataset, and BSDS500. A key finding was the superiority of learned STLD over both hand-crafted versions and standard non-shape-tailored methods. For instance, on the Real-World Texture Dataset, the learned STLD achieved an F-measure of 0.65, compared to 0.58 for hand-crafted STLD and a mere 0.20 for standard methods.
Generalization and Boundary Integrity
Unlike classification-based models that categorize specific textures (e.g., "grass" vs. "water"), this method learns a generic metric for texture difference. This allows the model to generalize effectively to entirely unseen textures. Furthermore, because the neural network is built upon PDE-based descriptors, the resulting features inherit shape-tailoring. This avoids the boundary blurring common in standard CNNs (like VGG) that use fixed-size receptive fields.
Conclusion
Learned Shape-Tailored Descriptors provide a robust solution to the boundary and invariance problems in texture segmentation. By combining the mathematical rigor of PDEs with the representational power of deep metric learning, the method achieves state-of-the-art results. Current limitations include the requirement to pre-specify the number of regions. Future research may explore hierarchical or split-and-merge strategies to automatically determine the optimal number of segments in an image.
Summary updated