Interface ProjectiveToMetricCameras

All Known Implementing Classes:
ProjectiveToMetricCameraDualQuadratic, ProjectiveToMetricCameraEssentialGuessAndCheck, ProjectiveToMetricCameraPracticalGuessAndCheck

public interface ProjectiveToMetricCameras
Interface for going from a set of projective cameras and pixel observations into calibrated metric cameras
  • Method Details

    • process

      boolean process(List<ElevateViewInfo> views, List<DMatrixRMaj> cameraMatrices, List<AssociatedTuple> observations, MetricCameras results)
      Computes metric upgrade from projective cameras.
      views - (Input) Specifies the image's shape and if the same camera was used to capture multiple views
      cameraMatrices - (Input) List of projective camera matrices. First view is P=[I|0] implicitly and is not included
      observations - (Input) Observations of common features among all the views. Observations are in pixels. some implementations might require the pixel observations be offset by the principle point.
      results - (Output) Storage for found metric upgrade. Translations are scaled automatically to be close to 1.0.
      true if successful or false if it failed
    • getMinimumViews

      int getMinimumViews()
      Returns the minimum number of views required to estimate the metric upgrade