Imagine trying to reconstruct a two-dimensional image when you cannot see the image itself, but only its shadows projected onto the horizontal and vertical axes. This is the core challenge of discrete tomography: reconstructing the internal arrangement of a grid based solely on the counts of elements in each row and each column (its orthogonal projections).
If the grid cells can be filled independently, finding any valid binary matrix that matches a given set of row and column sums is computationally trivial. However, real-world reconstruction problems—such as X-ray crystallography or imaging regular molecular structures—deal with items bound by rigid geometric constraints. When we require the grid to be packed with specific multi-cell shapes, or tiles, a simple reconstruction problem transforms into a complex combinatorial puzzle.
Research in this field reveals a sharp mathematical boundary between tile shapes that are computationally easy to reconstruct and those that are practically impossible.
The Geometry of Tractability: Bars vs. Non-Bars
The fundamental question of tile-packing tomography is how a tile's geometric shape dictates the computational complexity of its reconstruction. Work by Dürr et al. (2012), alongside earlier findings by Chrobak et al. (2010) and Chrobák et al. (2010), established a complete complexity landscape for this problem. They proved a strict dichotomy:
- The Easy Case: If a tile is a simple bar (a $1 \times N$ or $N \times 1$ straight line), the reconstruction problem can be solved in polynomial time.
- The Hard Case: For any other tile shape, the problem is NP-complete.
To understand why this boundary exists, consider the structural interaction between a tile and the projection constraints.
When you place a $1 \times N$ horizontal bar on a grid, it occupies $N$ cells within a single row. Because it does not cross multiple rows, its placement impacts the row sum constraint in a completely uniform way, and its interaction with column sums is highly restricted. The row and column constraints remain largely decoupled, allowing efficient network-flow or dynamic programming algorithms to find a valid arrangement.
Horizontal Bar (Easy): Only interacts with one row
[ X ][ X ][ X ] --> Affects Row i by +3
Now, consider a non-bar tile, such as a $2 \times 2$ square or a simple $2 \times 1$ domino. The moment a tile spans multiple rows and multiple columns, it acts as a bridge that couples those rows and columns together.
Domino Tile (Hard): Couples Row i and Row i+1
[ X ] --> Affects Row i, Column j
[ X ] --> Affects Row i+1, Column j
Placing a domino at a specific coordinate satisfies one unit of capacity for row $i$, but it simultaneously forces a unit of capacity to be consumed in row $i+1$ and column $j$. This creates a cascade of non-local constraints. A choice made on one side of the grid propagates dependencies across the entire board, turning the reconstruction into a highly constrained puzzle where local decisions have global consequences. As noted by Thai et al. (2012), this universal hardness makes exact tomographic reconstruction for complex shapes computationally intractable for large grids.
How Interlocking Tiles Encode Logic
To prove that non-bar tiles make the problem NP-complete, researchers use reductions to show that these interlocking grid constraints can simulate logical operations.
For instance, Chrobak et al. (2003) demonstrated that reconstructing grids made of dominoes or $2 \times 2$ squares is NP-complete by reducing known hard problems to the tiling constraints. Similarly, Akagi et al. (2020) mapped NP-complete problems to tilings involving L-shaped trominoes, proving that even minor variations in tile geometry fail to bypass this hardness.
A common strategy in these proofs is to leverage color or consistency problems. Dürr et al. (2009) proved that reconstructing a grid containing three distinct colors from its orthogonal projections is NP-hard. They achieved this by reducing the classic Vertex Cover problem to a rectangular tiling problem, which they then proved was equivalent to 3-color tomography.
Building on this insight, Chrobák et al. (2010) reduced the 3-Color Tomography problem directly to the Tile-Packing Tomography problem for non-bar tiles. The intuition behind this reduction is elegant: the different orientations or positions of a non-bar tile can act as stand-ins for "colors" or "boolean states." Because the tiles must fit together perfectly without overlapping while matching the exact row and column counts, the grid lines function like wires in a circuit, propagating truth values across the board.
This structural rigidity applies even when we are not trying to tile an entire grid. Goles Ch. et al. (2003) showed that trying to reconstruct a domino tiling for a specific sub-grid (a partial or irregular region of the board) remains NP-hard via a reduction from the 3-COLOR CONSISTENCY problem.
Connectivity and the Exception of Convexity
The hardness of discrete tomography manifests not only when packing multiple tiles, but also when trying to reconstruct a single continuous shape.
If we drop the requirement of using specific pre-defined tiles and instead ask to find a single, connected component of cells (a polyomino) that matches the projections, the problem remains NP-complete. As explained by Dürr et al. (1999), the constraint that all selected cells must link together into a single component introduces global dependencies that destroy local tractability.
However, this variant highlights how specific geometric constraints can restore tractability. If we add the condition that the shape must be hv-convex—meaning that the cells in every row and every column form a single, contiguous block without gaps—the problem becomes solvable in polynomial time.
Dürr et al. (1999) introduced an algorithm that exploits this convexity, reducing the reconstruction time complexity to $O(mn \min(m^2, n^2))$. The intuition here is that hv-convexity severely limits where the boundaries of the shape can exist. By tracking the upper, lower, left, and right extents of the polyomino, the global constraint of connectivity is automatically satisfied by local intervals, bypassing the combinatorial explosion that makes general tile-packing impossible.
Key Foundational Work
On tiling under tomographic constraints (2003) — contributed 9 concept elements to this direction.
Tiling with bars under tomographic constraints (2003) — contributed 4 concept elements to this direction.
Reconstructing hv-Convex Polyominoes from Orthogonal Projections (1999) — contributed 1 concept elements to this direction.