Package boofcv.alg.geo.robust
Class DistanceFromModelIntoViews<Model,Point,Camera>
java.lang.Object
boofcv.alg.geo.robust.DistanceFromModelIntoViews<Model,Point,Camera>
- All Implemented Interfaces:
DistanceFromModelViews<Model,
,Point, Camera> DistanceFromModel<Model,
Point>
public class DistanceFromModelIntoViews<Model,Point,Camera>
extends Object
implements DistanceFromModelViews<Model,Point,Camera>
Wrapper around
DistanceFromModel
that allows it ot be used by DistanceFromModelViews
.-
Constructor Summary
ConstructorDescriptionDistanceFromModelIntoViews
(DistanceFromModel<Model, Point> alg, int numberOfViews) -
Method Summary
Modifier and TypeMethodDescriptiondouble
void
int
Returns the new of views which need to be setvoid
void
Specify parameters for a particular view
-
Constructor Details
-
DistanceFromModelIntoViews
-
-
Method Details
-
distance
- Specified by:
distance
in interfaceDistanceFromModel<Model,
Point>
-
distances
- Specified by:
distances
in interfaceDistanceFromModel<Model,
Point>
-
getNumberOfViews
public int getNumberOfViews()Description copied from interface:DistanceFromModelViews
Returns the new of views which need to be set- Specified by:
getNumberOfViews
in interfaceDistanceFromModelViews<Model,
Point, Camera>
-
setView
Description copied from interface:DistanceFromModelViews
Specify parameters for a particular view- Specified by:
setView
in interfaceDistanceFromModelViews<Model,
Point, Camera> - Parameters:
view
- which view this belongs toviewInfo
- Information about this view. E.g. image dimension, intrinsic parameters, ...etc
-
setModel
- Specified by:
setModel
in interfaceDistanceFromModel<Model,
Point>
-
getPointType
- Specified by:
getPointType
in interfaceDistanceFromModel<Model,
Point>
-
getModelType
- Specified by:
getModelType
in interfaceDistanceFromModel<Model,
Point>
-