Documentation ¶
Index ¶
- type Problem
- func (p *Problem) Estimate(maxIterations, sampleSize int, inliersRatioLimit float64, maxError float64, ...) (*mat64.Vector, []*mat64.Vector, []*mat64.Vector, float64)
- func (p *Problem) SetData(data []*mat64.Vector)
- func (p *Problem) SetModel(fn calcModel)
- func (p *Problem) SetModelError(fn calcError)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Problem ¶
type Problem struct {
// contains filtered or unexported fields
}
Problem is the formulation of the ransac problem.
func (*Problem) Estimate ¶
func (p *Problem) Estimate(maxIterations, sampleSize int, inliersRatioLimit float64, maxError float64, improveWithConsensusSet bool) (*mat64.Vector, []*mat64.Vector, []*mat64.Vector, float64)
Estimate does the actual work of fitting.
func (*Problem) SetModel ¶
func (p *Problem) SetModel(fn calcModel)
SetModel sets a function which describes the model.
func (*Problem) SetModelError ¶
func (p *Problem) SetModelError(fn calcError)
SetModelError sets the function, which calculates the error.
Click to show internal directories.
Click to hide internal directories.