Abstract
S2RF (Semantically Stylized Radiance Fields) is a novel framework designed to provide "paint-by-numbers" precision for 3D scene editing. By combining radiance fields with object segmentation and a novel masked feature-matching loss, S2RF allows users to apply diverse artistic styles to specific objects or individual instances within a 3D scene. This approach maintains perfect consistency across all viewing angles, overcoming the limitations of global style transfer methods.
Introduction
Neural Radiance Fields (NeRFs) have significantly advanced the photorealistic reconstruction of 3D scenes from 2D images. However, localized editing of these scenes remains a challenge. Traditional 3D style transfer methods typically apply a single aesthetic to an entire scene, lacking the granularity required to stylize specific objects while leaving the background untouched. Furthermore, achieving multi-view consistency—ensuring styles do not flicker during camera movement—is difficult for complex, localized edits. S2RF addresses these issues by decoupling content and style through semantic grounding.
Methods
The S2RF pipeline consists of three primary phases designed for efficient and granular control over 3D stylization.
- Radiance Field Generation: The scene is first reconstructed using Plenoxels, which represent the environment as a sparse voxel grid. This choice facilitates faster optimization compared to dense neural networks.
- Object Detection & Segmentation: To identify target regions, the system employs DETR (DEtection TRansformer) for bounding box identification and SAM (Segment Anything Model) for precise pixel-level masking. Reliability is ensured by retaining only objects present in at least 80% of input frames.
- Stylization via mNNFM Loss: The core innovation is Masked Nearest Neighbor Feature Matching (mNNFM). Unlike standard NNFM, which compares global features, mNNFM restricts feature matching to pixels within a specific object's mask. This allows the model to "repaint" targeted 3D voxels to match a style image while preserving the original state of the background and other objects.
Experimental Setup
The framework was evaluated using real-world datasets, including the LLFF (Local Light Field Fusion) scenes Flower, Xmaschair, and Room. Artistic reference images, ranging from abstract patterns to classical paintings, were sourced from established style transfer literature. The evaluation focused on demonstrating new capabilities in instance-level control rather than traditional numerical benchmarking.
Results and Discussion
S2RF demonstrates high-fidelity qualitative results across several challenging scenarios.
Key results include:
- Single Instance Stylization: Successfully stylizing a single object (e.g., an armchair) while maintaining the photorealism of adjacent objects.
- Class-Wide and Multi-Style Application: The ability to apply a single style to all instances of a category or distinct styles to different objects simultaneously.
- Instance-Specific Styles: Applying unique artistic looks to different instances of the same object type.
By optimizing styles directly into the 3D voxel grid, S2RF ensures inherent spatial consistency. The "paint" remains fixed to the object in 3D space, eliminating the shimmering artifacts often found in 2D-to-3D editing workflows.
Conclusion and Future Work
S2RF provides a robust method for semantic 3D stylization. While the results are qualitatively impressive, future work will focus on quantitative evaluation through user studies and perceptual metrics. Additionally, extending the framework to 360-degree environments and exploring natural language prompts for automated object selection and style application are key areas for development.
Summary updated