Algorithm Search⌘K

Definitioncore

Visual hull

Also called shape from silhouettes.

The largest shape with the same silhouettes as an object from every view in a region. The cones of finitely many views give an outer bound on it.

The visual hull of an object is the largest shape that casts the same silhouettes as the object in all views from a given region. A calibrated camera that sees the object as a silhouette, a region of foreground pixels, knows that the object lies inside the cone of rays from the camera center through that region. The intersection of the cones of several cameras is a shape that surely contains the object, and adding cameras can only make it smaller. Laurentini (1994) named the limit of this process, over all viewpoints in a region, the visual hull, and showed what it can and cannot recover: it never shows a concavity that no silhouette shows, such as the inside of a bowl. In practice, "visual hull" also names the intersection of the cones of the given cameras, which is the method called shape from silhouettes. It needs only a foreground mask in each image, so it is fast and robust, and it is a common first shape for space carving and other multi-view stereo methods.

Definition

Let the object S⊂R3S \subset \mathbb{R}^3 be closed and bounded, and let RR be a set of viewpoints outside SS. For a viewpoint VV, the cone of SS is

CV(S)={P≠V:the half-line from V through P meets S}.C_V(S) = \{P \ne V : \text{the half-line from } V \text{ through } P \text{ meets } S\}.

A pinhole camera with center VV sees SS as its silhouette, and CV(S)C_V(S) is the set of points that project into the silhouette. Then:

  • The visual hull of SS relative to RR is VH(S,R)=⋂V∈RCV(S)\mathrm{VH}(S, R) = \bigcap_{V \in R} C_V(S). In words, a point PP is in the visual hull if and only if every half-line from a viewpoint in RR through PP meets SS.
  • The external visual hull is VH(S,R)\mathrm{VH}(S, R) for RR the set of all points outside the convex hull CH(S)\mathrm{CH}(S), the viewpoints from which the whole object can be seen from outside.
  • For finitely many cameras V1,…,VNV_1, \dots, V_N, the silhouette-cone intersection is HN=⋂i=1NCVi(S)H_N = \bigcap_{i=1}^{N} C_{V_i}(S). For an orthographic camera with view direction dd, the cone is replaced by the cylinder of lines with direction dd that meet SS.

Three facts follow from the definition.

  1. It keeps the silhouettes. S⊆VH(S,R)S \subseteq \mathrm{VH}(S, R), and for each V∈RV \in R, a half-line from VV meets VH(S,R)\mathrm{VH}(S, R) if and only if it meets SS. So the visual hull casts the same silhouettes as SS from all of RR.
  2. It is the largest such shape. If S′S' casts the same silhouettes as SS from every V∈RV \in R, then every half-line from VV through a point of S′S' meets SS, so S′⊆VH(S,R)S' \subseteq \mathrm{VH}(S, R).
  3. Finite views bound it from outside. If V1,…,VN∈RV_1, \dots, V_N \in R, then S⊆VH(S,R)⊆HNS \subseteq \mathrm{VH}(S, R) \subseteq H_N, and HN+1⊆HNH_{N+1} \subseteq H_N.

For the external visual hull there is a test without viewpoints: a point PP is in it if and only if every line through PP meets SS. If a line through PP misses SS, choose VV on this line outside CH(S)\mathrm{CH}(S); the half-line from VV through PP misses SS. If every line through PP meets SS, then P∈CH(S)P \in \mathrm{CH}(S), and for VV outside CH(S)\mathrm{CH}(S) the line through VV and PP meets the convex hull in a segment that holds PP but not VV, so the half-line from VV through PP holds that segment and meets SS. The same test shows that the external visual hull lies inside the convex hull.

Examples and non-examples

A convex object. If SS is convex, its external visual hull is SS itself: it lies between SS and CH(S)=S\mathrm{CH}(S) = S. Silhouettes recover a convex object exactly, given enough views.

A sphere from two or three views. A ball of radius rr seen by orthographic cameras along the XX and ZZ axes has disks as silhouettes, and H2H_2 is the intersection of two cylinders, the Steinmetz solid, of volume 163r3≈5.333r3\tfrac{16}{3} r^3 \approx 5.333 r^3. The ball has volume 43πr3≈4.189r3\tfrac43 \pi r^3 \approx 4.189 r^3, so the two views give a shape 27.3% too large. A third view along YY gives the intersection of three cylinders, of volume 8(2−2)r3≈4.686r38 (2 - \sqrt2) r^3 \approx 4.686 r^3, which is 11.9% too large. With views from all directions, the intersection is the ball.

Non-example: the inside of a bowl. Let SS be a bowl, and let PP be a point in its hollow below the rim. Every line through PP has a half that points down or sideways, and that half meets the wall or the bottom. So by the test above, PP is in the external visual hull: the visual hull of a bowl is filled up to the plane of the rim. No silhouette, from any viewpoint, can show the hollow. Color can: space carving uses photo-consistency to remove such points when the surface has texture. Its plus-shaped example shows the same effect on a grid: the silhouettes do not show the inner corners of the plus, so carving with silhouettes alone keeps 6 voxels there.

Non-example: the convex hull. The external visual hull can be much smaller than the convex hull. For a torus, the line along its axis misses the torus, so the center of the hole is not in the visual hull, though it is in the convex hull.

Non-example: ghosts from few views. Two balls of radius rr with centers (d,0,0)(d, 0, 0) and (0,d,0)(0, d, 0), d>2rd > 2 r, seen by orthographic cameras along the XX and YY axes, give two disks in each image. The cylinders along XX lie at y=0y = 0 and y=dy = d, and the cylinders along YY lie at x=0x = 0 and x=dx = d, so H2H_2 has four parts, at (0,0)(0, 0), (d,0)(d, 0), (0,d)(0, d) and (d,d)(d, d). Two of them are ghosts with no object in them. A third view, for example along ZZ, removes them. Scenes with several people seen by few cameras show this effect.

  • Silhouette. The set of image points whose rays meet the object. In practice it comes from background subtraction or another segmentation, and an error in one mask cuts the object in every view. A missing foreground pixel removes a whole ray from the hull.
  • Photo hull. Kutulakos and Seitz (2000) defined the photo hull as the largest shape whose rendering matches the colors of all images. If the background differs in color from the object, a photo-consistent shape also has the right silhouettes, so the photo hull lies inside the visual hull.
  • Voxel, polyhedral and image-based visual hulls. A voxel version keeps the cells of a grid or an octree whose projections fall inside every silhouette, and marching cubes turns the result into a mesh. A polyhedral version intersects the cones of the silhouette polygons, as in constructive solid geometry. The image-based visual hull of Matusik et al. (2000) computes, for each pixel of a new view, the intervals of its ray that lie inside all cones, by intersecting the projection of the ray, an epipolar line (epipolar geometry), with each silhouette. It needs no volume and runs in real time.
  • Space carving and voxel coloring. Space carving with only the background test gives the visual hull of the grid, and voxel coloring and space carving with color tests give shapes inside it.

References

  1. Aldo Laurentini, The visual hull concept for silhouette-based image understanding, IEEE Transactions on Pattern Analysis and Machine Intelligence 16(2), 1994, pages 150 to 162, the definition of the visual hull relative to a viewing region, the external visual hull, and the result that the visual hull is the largest object with the same silhouettes
  2. Wojciech Matusik, Chris Buehler, Ramesh Raskar, Steven J. Gortler and Leonard McMillan, Image-based visual hulls, Proceedings of SIGGRAPH 2000, pages 369 to 374, the computation of the visual hull along the viewing rays of a new view from the silhouettes of the reference views
  3. Kiriakos N. Kutulakos and Steven M. Seitz, A theory of shape by space carving, International Journal of Computer Vision 38(3), 2000, pages 199 to 218, the photo hull, the largest shape that is consistent with the colors of the images and not only with their silhouettes
  4. Richard Szeliski, Computer Vision, Algorithms and Applications, second edition, Springer, 2022, Section 12.7.3, Shape from silhouettes

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/EW4AGR/text.yaml