Package boofcv.struct.geo
Class AssociatedPairConic
java.lang.Object
boofcv.struct.geo.AssociatedPairConic
public class AssociatedPairConic extends Object
The observed location of a conic feature in two camera views. Can be in pixels or normalized image coordinates.
-
Field Summary
Fields Modifier and Type Field Description ConicGeneral_F64
p1
Location of the feature in the first imageConicGeneral_F64
p2
Location of the feature in the second image. -
Constructor Summary
Constructors Constructor Description AssociatedPairConic()
AssociatedPairConic(boolean declare)
Constructor which allows the points to not be declared.AssociatedPairConic(ConicGeneral_F64 p1, ConicGeneral_F64 p2)
Assigns the value to the two passed in features.AssociatedPairConic(ConicGeneral_F64 p1, ConicGeneral_F64 p2, boolean newInstance)
Allows features to either be copied or saved as references. -
Method Summary
Modifier and Type Method Description void
assign(ConicGeneral_F64 p1, ConicGeneral_F64 p2)
Changes the references to the passed in objects.AssociatedPairConic
copy()
ConicGeneral_F64
getP1()
ConicGeneral_F64
getP2()
void
setTo(AssociatedPairConic original)
void
setTo(ConicGeneral_F64 p1, ConicGeneral_F64 p2)
Assigns this object to be equal to the passed in values.String
toString()
-
Field Details
-
p1
Location of the feature in the first image -
p2
Location of the feature in the second image.
-
-
Constructor Details
-
AssociatedPairConic
public AssociatedPairConic() -
AssociatedPairConic
public AssociatedPairConic(boolean declare)Constructor which allows the points to not be declared.- Parameters:
declare
- If true then new points will be declared
-
AssociatedPairConic
Assigns the value to the two passed in features. A copy of the features is made.- Parameters:
p1
- image 1 locationp2
- image 2 location
-
AssociatedPairConic
Allows features to either be copied or saved as references.- Parameters:
p1
- image 1 locationp2
- image 2 locationnewInstance
- Should it create new points or save a reference to these instances.
-
-
Method Details