Skip to content

multiview

multiview #

Multiview — a multi-view model's cameras, points and per-image depths.

Multiview #

Bases: Struct

What one forward pass of a multi-view network yields for a set of images.

model holds the cameras (keyed like every reconstruction), the points and an empty set of observations, all in the network's own scale; depths is one RelativeDepth per input image in that same scale.

Source code in capturegraph-recipes/capturegraph_recipes/types/compositions/multiview.py
class Multiview(cg.Struct):
    """What one forward pass of a multi-view network yields for a set of images.

    ``model`` holds the cameras (keyed like every reconstruction), the points
    and an empty set of observations, all in the network's own scale;
    ``depths`` is one ``RelativeDepth`` per input image in that same scale.
    """

    analysis_only = True

    model: Reconstruction
    depths: cg.Array[RelativeDepth]