Class SceneObservations

java.lang.Object
boofcv.abst.geo.bundle.SceneObservations

public class SceneObservations extends Object
Storage for feature observation in each view. Input for bundle adjustment. When possible arrays are used to reduce memory requirements.
  • Field Details

  • Constructor Details

    • SceneObservations

      public SceneObservations()
  • Method Details

    • initialize

      public void initialize(int numViews)
      Initialize the data structures for this number of views. Rigid is set to be false.
      Parameters:
      numViews - Number of views
    • initialize

      public void initialize(int numViews, boolean rigidObjects)
      Initialize the data structures for this number of views
      Parameters:
      numViews - Number of views
      rigidObjects - If true then there are rigid objects that can be observed
    • getObservationCount

      public int getObservationCount()
      Returns the total number of observations across all views. general and rigid points
      Returns:
      number of observations
    • hasRigid

      public boolean hasRigid()
      True if there are rigid views
    • getView

      public SceneObservations.View getView(int which)
    • getViewRigid

      public SceneObservations.View getViewRigid(int which)
      Returns the view for rigid objects with this index.
    • checkOneObservationPerView

      public void checkOneObservationPerView()
      Makes sure that each feature is only observed in each view
    • isIdentical

      public boolean isIdentical(SceneObservations other)
      Returns true of the two observations contain the same values