TL;DR
This paper presents a semi-supervised pipeline to extract high-quality "representative textures" from building façades. By combining semantic segmentation with unsupervised clustering and a novel weighted distance metric, the method identifies clean, tileable patches of wall texture that can significantly improve the visual resolution of 3D building models.
What Problem Does This Paper Address?
Creating realistic 3D models of cities often relies on street-view or aerial imagery. While we can reconstruct the basic shape of a building, the textures—the actual "look" of the walls—are often blurry or low-resolution.
While researchers have successfully used high-resolution "prefabs" to replace windows and doors, the background wall (brick, stone, or concrete) remains a challenge. Simply pasting a low-resolution original image onto a 3D model looks poor. To fix this, we need a "representative texture": a clean, high-resolution patch of the wall that can be tiled across the entire surface. However, training an end-to-end AI to find these patches is difficult because there aren't many labeled datasets showing exactly where the "perfect" patch of brick is located.
Methods
The authors propose a multi-step, semi-supervised pipeline that avoids the need for massive amounts of labeled texture data:
- Semantic Segmentation: A standard U-Net model identifies which parts of the image are "background" (the wall) versus "foreground" (windows, doors, pipes).
- Random Sampling: The system takes roughly 10,000 random crops from the identified background areas.
- Dimension Reduction (Augmented Autoencoder): To compare these thousands of patches, they are converted into mathematical vectors (embeddings). The authors use an "Augmented Autoencoder" trained on pairs of images (original and shifted/scaled versions). This teaches the model that a brick is still a brick even if it's moved slightly or zoomed in.
- Clustering: The patches are grouped using K-Means. Because the wall texture is repetitive, the largest cluster will naturally contain the "clean" wall patches. Outliers—like a patch that accidentally included a bit of a drainpipe—will end up in smaller, separate clusters and can be discarded.
- Weighted Distance Selection: Instead of just picking the patch closest to the cluster center, the authors use a novel formula that favors patches that are larger (for better resolution) and have high boundary similarity (meaning the left edge matches the right edge, making it perfect for seamless tiling).
Datasets
The study utilized two primary datasets for training and evaluation:
- eTrimsDB: Used for texture extraction and basic façade detection.
- CMP Façade: A more detailed dataset used for both segmentation and evaluating the pipeline's robustness against noise.
- Cityscapes: Used for pre-training the segmentation models before fine-tuning on the façade-specific data.
Key Insights and Ideas
- Repetition as a Filter: The core "aha moment" is that in a repetitive structure like a building, the "correct" texture is the most common one. By using clustering, the algorithm uses the building's own geometry to filter out noise (shadows, dirt, or segmentation errors) without needing a human to label what "noise" looks like.
- Augmentation for Invariance: By training the autoencoder on augmented pairs, the model learns "translation invariance." This ensures that two patches of the same brick wall are recognized as identical even if the camera angle or position shifted slightly between crops.
- Tiling over Accuracy: The authors prioritize "visual feasibility" over strict reconstruction accuracy. They argue that a 3D model looks better with a clean, high-res representative texture tiled across it than with a "perfectly accurate" but blurry and distorted original image.
Key Results
The method was evaluated by human scorers on a scale of 0-10 based on how well the extracted texture represented the actual building.
- Performance: The proposed method achieved an average score of 8.1, significantly outperforming a simple random cropping approach, which scored only 5.6.
- Robustness: In tests specifically targeting noisy images (those with shadows or obstructions), the model maintained a high average score of 7.8.
- Tiling Quality: The weighted distance metric successfully increased the average width of selected patches from 28.67 pixels to 46.53 pixels and improved boundary similarity (tileability) from 95.8% to 98.0%.
Limitations and Future Work
- Multiple Textures: The current model assumes one primary texture per façade. If a building has a stone first floor and a brick second floor, the model might struggle unless the image is manually partitioned first.
- Non-Repetitive Surfaces: The method fails on "gradient" façades or unique architectural designs that don't have a repeating pattern.
- Future Directions: The authors suggest that future work could involve automatically detecting "cornices" or architectural dividers to handle buildings with multiple distinct texture regions automatically.
Summary updated