public class ConstrainedRANSACFittedFunction extends RANSACFittedFunction
Constructor and Description |
---|
ConstrainedRANSACFittedFunction(Function func)
Uneducational Constructor that initializes the bounds in a redandant way.
|
Modifier and Type | Method and Description |
---|---|
void |
fitToPoints(double[] x,
double[] y)
Fits the function to the given input data
|
double[] |
getLowerbound() |
double[] |
getUpperbound() |
void |
setLowerbound(double[] lowerbound) |
void |
setUpperbound(double[] upperbound) |
evaluate, getBaseFunction, getEpsilon, getMinimumNumberOfCorrespondences, getNumberOfTries, getParametersAsDoubleArray, setBaseFunction, setEpsilon, setNumberOfTries, toString
fitToPoints, getAvailableFunctions, getNumberOfParameters
public ConstrainedRANSACFittedFunction(Function func)
func
- public void fitToPoints(double[] x, double[] y)
Function
fitToPoints
in class RANSACFittedFunction
x
- the input datay
- the output datapublic double[] getUpperbound()
public void setUpperbound(double[] upperbound)
upperbound
- the upperbound to setpublic double[] getLowerbound()
public void setLowerbound(double[] lowerbound)
lowerbound
- the lowerbound to set