Abstract
This paper introduces Canonical Contextual Correlation Projections (CCCP), a linear, discriminative, supervised technique for dimensionality reduction in image data. While standard Linear Discriminant Analysis (LDA) is a staple for feature reduction, it suffers from spatial context blindness and a mathematical limit on the number of extractable features ($K-1$ for $K$ classes). CCCP addresses these limitations by reformulating LDA through Canonical Correlation Analysis (CCA) and incorporating the class labels of a pixel's neighborhood into the projection. Evaluated on a medical image segmentation task, CCCP demonstrates a significant reduction in classification error and the ability to preserve a richer feature space than traditional LDA.
Introduction
In computer vision and medical imaging, pixels are often described by high-dimensional feature vectors containing texture, color, and local filter responses. While these features provide rich information, they frequently lead to the "curse of dimensionality," where the performance of classifiers degrades due to overfitting.
Linear Discriminant Analysis (LDA) is commonly used to project these high-dimensional vectors into a lower-dimensional space that maximizes class separability. However, LDA has two primary drawbacks in image analysis:
- Spatial Independence: LDA treats each pixel as an independent observation, ignoring the inherent spatial structure of image labels.
- Dimensionality Constraint: LDA is mathematically restricted to extracting at most $K-1$ features. In a binary classification task, this forces a reduction to a single dimension, which often fails to capture the complexity of the underlying data.
Methodology: The CCCP Approach
The authors propose CCCP as an extension of LDA that leverages spatial context to improve discriminative power.
Reformulating LDA via CCA
Standard LDA can be viewed as a specific case of Canonical Correlation Analysis (CCA) between a feature vector $X$ and a class indicator vector $Y$. In the standard case, $Y$ is a simple one-hot encoding of the central pixel's label.
Incorporating Contextual Labels
The core innovation of CCCP is the redefinition of the target vector $Y$. Instead of representing only the label of the central pixel, $Y$ is constructed by concatenating the labels of all pixels within a defined neighborhood (e.g., a 4-neighborhood or a specific radius).
This modification has two profound effects:
- Spatial Configuration Awareness: By including neighbor labels, the projection becomes sensitive to the local geometry of the classes. A pixel located in the center of a structure is projected differently than a pixel on a boundary, even if they share the same class label.
- Increasing the Rank: Because the dimensionality of the concatenated label vector is significantly higher than the number of classes, the rank of the resulting covariance matrix increases. This allows CCCP to extract many more than $K-1$ dimensions, providing a more flexible representation for subsequent classification.
Experimental Evaluation
The technique was tested on the task of lung field segmentation in chest radiographs, using 20 standard PA chest radiographs from a tuberculosis screening program. The images were sub-sampled to $128 \times 128$ pixels, with 10 used for training and 10 for testing.
Setup
- Classes: Three classes were defined: left lung, right lung, and background.
- Features: Each pixel was represented by an 83-dimensional vector (raw gray values in a radius of 5 plus spatial coordinates).
- Classifier: A 1-Nearest Neighbor (1NN) classifier was used to evaluate the quality of the reduced feature space.
Results
CCCP significantly outperformed standard LDA in both quantitative and qualitative metrics:
- Error Rates: Standard LDA resulted in a pixel classification error of 0.22. By using CCCP with a label radius of 3, the error was halved to 0.11.
- Feature Retention: While LDA was limited to 2 dimensions for the 3-class problem, CCCP achieved its best performance when retaining between 11 and 22 dimensions.
- Segmentation Quality: Qualitatively, CCCP produced much more coherent segmentations. While LDA results were often noisy and fragmented, CCCP-based projections respected the spatial continuity of the lung fields, reducing confusion between the left and right lungs.
Discussion and Limitations
CCCP provides a computationally efficient, linear method to incorporate spatial context into dimensionality reduction. By "boosting" the rank of the label space, it bypasses the rigid constraints of classical LDA.
However, some limitations remain:
- Linearity: As a linear projection, CCCP may not capture complex non-linear manifolds as effectively as kernel-based or deep learning methods.
- Hyperparameter Sensitivity: The choice of the neighborhood radius for labels is critical; a radius that is too small converges toward standard LDA, while an excessively large radius may introduce noise.
- Computational Scaling: For very large neighborhoods or 3D data, the size of the concatenated label vector could increase the computational cost of estimating covariance matrices.
Conclusion
Canonical Contextual Correlation Projections offer a robust framework for supervised dimensionality reduction in tasks where spatial context is available. By treating the local label configuration as part of the target space, CCCP provides a more descriptive and higher-dimensional feature set than standard LDA, leading to superior performance in image segmentation applications.
Summary updated