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

public class MatchIndices extends Object
  • Constructor Details

    • MatchIndices

      public MatchIndices(int capacity)
  • Method Details

    • capacity

      public int capacity()
    • size

      public int size()
    • indices

      public int[] indices()
      Get the internal index array.

      Note that the length of the returned array may be larger than the current size() of this MatchIndices.

      Returns:
      index array
    • setSize

      public void setSize(int size)
    • set

      public void set(MatchIndices indices)
    • sample

      public void sample(Random rnd, int bound)
    • addSelected

      public <T> void addSelected(List<T> elements, Collection<T> selectedElements)
    • copySelected

      public void copySelected(double[] src, double[] dest)
    • copySelected

      public void copySelected(FlattenedMatches elements, FlattenedMatches selectedElements)