Class MatchIndices
java.lang.Object
net.preibisch.mvrecon.process.fusion.intensity.mpicbg.MatchIndices
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> voidaddSelected(List<T> elements, Collection<T> selectedElements) intcapacity()voidcopySelected(double[] src, double[] dest) voidcopySelected(FlattenedMatches elements, FlattenedMatches selectedElements) int[]indices()Get the internal index array.voidvoidset(MatchIndices indices) voidsetSize(int size) intsize()
-
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 thisMatchIndices.- Returns:
- index array
-
setSize
public void setSize(int size) -
set
-
sample
-
addSelected
-
copySelected
public void copySelected(double[] src, double[] dest) -
copySelected
-