java.lang.Object
net.preibisch.mvrecon.process.fusion.intensity.mpicbg.FlattenedMatches

public class FlattenedMatches extends Object
  • Constructor Details

    • FlattenedMatches

      public FlattenedMatches(int numDimensions, int capacity)
    • FlattenedMatches

      public FlattenedMatches(Collection<P> matches)
  • Method Details

    • size

      public int size()
    • capacity

      public int capacity()
    • numDimensions

      public int numDimensions()
    • p

      public double[][] p()
    • q

      public double[][] q()
    • w

      public double[] w()
    • weighted

      public boolean weighted()
      Returns true if the weights of the matches should be considered for model fitting. Returns false if all weights are (or should be assumed) =1.
      Returns:
      whether weights should be considered for model fitting
    • setWeighted

      public void setWeighted(boolean weighted)
      Parameters:
      weighted - whether weights should be considered for model fitting
    • put

      public void put(mpicbg.models.PointMatch match)
    • put

      public void put(double p, double q, double w)
    • flip

      public void flip()
    • copyOf

      public static FlattenedMatches copyOf(FlattenedMatches matches, int newSize)