Class KnownBaselineSparseReconstructorConfiguration

All Implemented Interfaces:
Serializable

public class KnownBaselineSparseReconstructorConfiguration extends BaseSparseReconstructorConfiguration<KnownBaselineSparseReconstructorConfiguration> implements Serializable
Contains configuration for a multiple view sparse re-constructor assuming that the initial baseline (separation between initial cameras) is known.
See Also:
  • Field Details

    • DEFAULT_BASELINE

      public static final double DEFAULT_BASELINE
      Default camera baseline (expressed in a unit of distance such as meters). Methods such as DIAC or Essential assume that the camera baseline is 1.0, which yields a reconstruction up to scale, unless the real baseline is provided.
      See Also:
    • baseline

      private double baseline
      Camera baseline (expressed in a unit of distance such as meters). Contains the real separation between camera centers so that the real scale of cameras and reconstructed points can be retrieved.
  • Constructor Details

    • KnownBaselineSparseReconstructorConfiguration

      public KnownBaselineSparseReconstructorConfiguration()
  • Method Details

    • make

      Creates an instance of a multiple view sparse re-constructor configuration with known camera baseline.
      Returns:
      configuration instance.
    • getBaseline

      public double getBaseline()
      Gets camera baseline (expressed in a unit of distance such as meters). Contains the real separation between camera centers so that the real scale of cameras and reconstructed points can be retrieved.
      Returns:
      camera baseline.
    • setBaseline

      public KnownBaselineSparseReconstructorConfiguration setBaseline(double baseline)
      Sets camera baseline (expressed in a unit of distance such as meters). Contains the real separation between camera centers so that the real scale of cameras and reconstructed points can be retrieved.
      Parameters:
      baseline - camera baseline.
      Returns:
      this instance so that methods can be easily chained.