Class FlattenedMatches
java.lang.Object
net.preibisch.mvrecon.process.fusion.intensity.mpicbg.FlattenedMatches
-
Constructor Summary
ConstructorsConstructorDescriptionFlattenedMatches(int numDimensions, int capacity) FlattenedMatches(Collection<P> matches) -
Method Summary
Modifier and TypeMethodDescriptionintcapacity()static FlattenedMatchescopyOf(FlattenedMatches matches, int newSize) voidflip()intdouble[][]p()voidput(double p, double q, double w) voidput(mpicbg.models.PointMatch match) double[][]q()voidsetWeighted(boolean weighted) intsize()double[]w()booleanweighted()Returnstrueif the weights of the matches should be considered for model fitting.
-
Constructor Details
-
FlattenedMatches
public FlattenedMatches(int numDimensions, int capacity) -
FlattenedMatches
-
-
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()Returnstrueif the weights of the matches should be considered for model fitting. Returnsfalseif 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
-
put
public void put(double p, double q, double w) -
flip
public void flip() -
copyOf
-