Textured 3D assets store their color in a texture atlas: the mesh is cut open along seams and flattened into disconnected 2D "islands" packed into one image. Detecting small things on such surfaces means running an image detector on this atlas. Useful targets include stains, scratches, decals and printed markings on scanned parts, and also the defects that generative texturing leaves behind. The detector assumes that neighboring pixels are neighboring points, and the atlas breaks that assumption at every seam. A convolution next to an island edge sees empty padding or an unrelated piece of the mesh. The damage also compounds with depth. Each downsampling stage widens the region a feature summarizes, so the band of corrupted features around every seam grows in real surface units exactly where small objects are already fading.
We propose a parameter-free fix applied at every pyramid level. Before each convolution and pooling step, at every resolution, the border band of each island is overwritten with features gathered from the geometrically adjacent island on the other side of the seam. The gather is a precomputed index table, so it adds no learned weights. Pooling is additionally weighted by how much real surface area each texel covers. The central claim is testable. Seam damage to small-object detection is mainly a feature-pyramid problem, not an input-image problem. Fixing it once at the input (the standard "gutter padding" trick) should leave most of the gap to a seamless flat image, and fixing it at every level should close most of it.
Why this is not already done
The closest work splits into two groups, and neither addresses this question. The first group changes how detectors downsample, and all of it runs on flat Euclidean grids. Texture Reconstructive Downsampling recovers texture lost by strided convolutions through super-resolution-style back-projection. LIP learns importance weights for pooling windows. MSR-RCNN super-resolves early features for tiny pests. We reuse the motivation of this group: downsampling erases small targets. Its operators, however, have no notion of an island boundary. Their back-projection residuals and local softmax windows straddle seams, and we treat them as baselines rather than components.
The second group handles seams, but only for texture generation. Paint3D feeds a map of 3D surface positions into a 2D diffusion model so distant atlas patches can be recognized as surface neighbors. TEXGen interleaves UV convolutions with attention over a 3D point cloud so islands exchange information across cuts. UV3-TeD abandons the atlas and diffuses features along the surface. That last choice costs fine detail: its authors note it struggles with micro-textures, which constrains us against a UV-free design for small targets. None of these systems detects anything. None asks what happens to seams as a feature pyramid downsamples. VMNet builds multi-scale hierarchies on meshes that respect surface connectivity, but it works on vertices and never ingests a high-resolution texture.
Our contribution is to move seam repair from the input into every level of a detector's pyramid, and to test it under controlled seam and distortion conditions.
Core Mechanism
For each atlas and each pyramid level $l$ with stride $s_l$, we precompute a gather table. Every texel within the kernel radius of an island border is mapped to a source location. We find it by unfolding the adjacent triangle across the shared mesh edge into the local island's plane, walking outward ring by ring as far as the band requires, and reading the corresponding location in the neighboring island at the same level. Before each 3×3 convolution or pooling step, the band is overwritten by this gather. Unfolding into the local frame puts the neighbor's content in the correct position and orientation relative to the local chart.
At deep levels there is a subtlety. Features computed inside a neighboring island were computed in that island's frame, so a neighbor rotated relative to the local chart hands over rotated features. We do not hide this. We measure it separately by binning seams by the relative rotation between adjacent charts, and we test whether rotation-equivariant channels in the style of ReDet remove the residual error.
The second ingredient addresses uneven texel density. Unwrapping gives some regions many texels per square millimeter and others few, so an object's pixel size in the atlas no longer reflects its physical size. We weight pooling by the surface area each texel covers:
$$y(q)=\frac{\sum_{p\in W(q)\cap\Omega} a(p)\,e^{z(p)}\,x(p)}{\sum_{p\in W(q)\cap\Omega} a(p)\,e^{z(p)}}.$$
Here $W(q)$ is the pooling window for output location $q$ and $\Omega$ is the set of valid (on-island or stitched) texels. The term $x(p)$ is the input feature, and $z(p)$ is an optional learned importance logit as in LIP (set to zero for the plain version). The term $a(p)$ is the surface area covered by texel $p$, computed from the Jacobian of the parameterization. Restricting the window to $\Omega$ keeps padding out of the normalization.
The detection head predicts boxes per island. Boxes may extend into the stitched band. All predictions are lifted to the surface and merged there, so an object cut by a seam becomes one detection.
Research Program
No benchmark on Lacuna evaluates detection on texture atlases, so we build two controlled ones from existing assets.
The first, DOTA-on-mesh, is the most informative. We take aerial images from DOTA and VisDrone-DET and texture them onto terrain-like and curved meshes. The meshes are unwrapped with a standard seam-cutting unwrapper at several cut densities. Every original annotation is then known in surface coordinates. The same detector run on the original flat image gives a seamless upper bound, so the atlas penalty can be measured exactly. We control three variables: the fraction of objects that straddle seams, the relative chart rotation, and how much the parameterization stretches texel density.
The second, Objaverse-decals, uses textured meshes from the curated Objaverse subsets used by Paint3D and TEXGen. We composite small photometric targets onto the surface in 3D: stains, scratches, text and logos, sized from a few millimeters to centimeters. These are baked into the atlas and labeled as surface regions. This benchmark tests realistic object atlases with many small islands. The DOTA-on-mesh benchmark tests the aerial small-object regime, where 57% of instances are 10 to 50 pixels.
We evaluate everything in surface space, using average precision at an intersection-over-union threshold computed on surface area rather than atlas pixels. This lets atlas-based and multi-view methods be scored identically. We report results stratified by physical object size, distance to the nearest seam in millimeters, and local texel density.
Baselines
The naive reference is a standard detector trained and tested directly on atlases with default zero or gutter padding. For Objaverse-decals this is Faster R-CNN with a feature pyramid; for DOTA-on-mesh it is the oriented detector ReDet, which reports 80.10 mAP on flat DOTA-v1.0 (ReDet). That flat number is not directly comparable. We rerun ReDet on the flat versions of our tiles as the upper bound, and the gap between that rerun and the atlas run defines the seam penalty. Beating the naive baseline is necessary but not interesting.
The second baseline is input-only stitching: the same seam-crossing gather applied once to the RGB atlas with a wide gutter, as texture artists already do. This is the ablation that isolates our key ingredient, since it uses the identical lookup and differs only in whether stitching is repeated at every level. To count as a win, per-level stitching must recover a clearly larger share of the flat-versus-atlas gap than input-only stitching, specifically for objects within one deep-level receptive field of a seam.
The third baseline appends Paint3D-style 3D position channels to the atlas input (Paint3D). This lets the network learn seam adjacency instead of being given it.
The fourth set is the downsampling-repair modules run on atlases: TRD and LIP swapped into the same backbone. On their home benchmarks, TRD raised VisDrone-DET AP by 3.2% and small-object AP by 3.1% (TRD), and LIP raised COCO small-object AP for Faster R-CNN from 21.9% to 24.0% (LIP). We also combine each with our stitching, to test whether the ingredients are complementary.
The strongest learned competitor is a TEXGen-style hybrid backbone (TEXGen). Each stage adds attention over the texels lifted to a 3D point cloud, so islands exchange information by 3D distance. No reported result found on Lacuna for any of these methods on atlas-based detection, so all are rerun by us.
The last baseline is multi-view rendering: render the textured mesh from many views, detect in each rendered image, and back-project detections to the surface.
For fairness, all methods share backbone, training schedule, augmentation, input resolution, and a fixed hyperparameter search budget. Compute is reported per method. The TEXGen-style and multi-view baselines are given matched or larger FLOPs, so that any win is not an efficiency artifact.
Why not just…?
Why not just pad the atlas gutters once, as texture artists already do? This is the most important alternative, and it is the direct ablation. Our argument against it is geometric. A gutter of width $g$ texels becomes $g/s_l$ at stride $s_l$, while the input region a level-$l$ feature summarizes grows roughly with $s_l$. So from a few levels down, deep features near a seam read past the gutter into unrelated charts. If input-only stitching matches per-level stitching on seam-straddling small objects, the central claim is false and we will report it that way.
Why not just add 3D position channels and let the detector learn seams? Paint3D shows position maps help a generator align patterns across islands. A detector, though, must also be given the neighbor's content at the right place, and position channels only label where that content lives. The comparison at equal training data will show whether learning closes the gap. We expect it to help most on meshes seen during training and least on new unwrappings.
Why not just render views, detect in 2D, and project back? This is a real threat for well-covered convex objects. Its known weaknesses are self-occlusion, which Paint3D addresses with a separate inpainting stage, and degradation at oblique angles, where the mesh defect-inspection study saw error grow beyond 50° tilt (Surface Defect Identification). The weaknesses also include view count: small targets need many close views. We will match compute and report results separately for concave or occluded regions versus exposed regions. If multi-view wins everywhere at equal compute, the atlas approach is only worth it where no renderer or camera rig is available.
Why not just re-bake the atlas with uniform texel density and fewer, larger islands? Re-parameterization, including the continuous parameterizations of Nuvo, can remove the density problem and reduce seam length. Area weighting is then unnecessary, but seams remain wherever the surface cannot be flattened. We include uniform-density re-bakes as a condition. If they make area weighting useless, we drop it and keep only stitching.
Decisive Checks
The first check plots detection recall against distance to the nearest seam, measured in multiples of each level's receptive field, for naive, input-stitched, and per-level-stitched models. The prediction is that input-only stitching fixes only the first band, while per-level stitching flattens the curve out to the deepest level's reach. The second check reports the fraction of the flat-image gap recovered on DOTA-on-mesh as seam density increases. The third bins residual error by relative chart rotation, to show whether equivariant features are needed. The fourth compares small-object AP on stretched versus compressed charts, with and without area weighting, on original and density-uniform atlases. Together these separate the three possible explanations for where small objects die on atlases: seams at the input, seams inside the pyramid, and uneven texel density.
References
- A Texture Reconstructive Downsampling for Multi-Scale Object Detection in UAV Remote-Sensing Images
- LIP: Local Importance-Based Pooling
- MSR-RCNN: A Multi-Class Crop Pest Detection Network Based on a Multi-Scale Super-Resolution Feature Enhancement Module
- Paint3D: Paint Anything 3D With Lighting-Less Texture Diffusion Models
- TEXGen: a Generative Diffusion Model for Mesh Textures
- UV-free Texture Generation with Denoising and Geodesic Heat Diffusion
- VMNet: Voxel-Mesh Network for Geodesic-Aware 3D Semantic Segmentation
- ReDet: A Rotation-Equivariant Detector for Aerial Object Detection
- DOTA: A Large-Scale Dataset for Object Detection in Aerial Images
- Surface defect identification using Bayesian filtering on a 3D mesh
- Nuvo: Neural UV Mapping for Unruly 3D Representations