Package boofcv.struct.geo
Class PairLineNorm
java.lang.Object
boofcv.struct.geo.PairLineNorm
A pair of line observations found in two different images. The line is described by a vector, which is the normal
of the plane defined by the line on the image plane and the camera's origin. The cross product of the two end
points (in homogeneous pixels) would define a line in this manor.
-
Field Summary
Modifier and TypeFieldDescriptionLocation of the feature in the first imageLocation of the feature in the second image. -
Constructor Summary
ConstructorDescriptionPairLineNorm
(Vector3D_F64 l1, Vector3D_F64 l2) Creates a new instance by copying the values of the two lines.PairLineNorm
(Vector3D_F64 l1, Vector3D_F64 l2, boolean newInstance) Creates a new instance by either copying or saving a reference to the two lines -
Method Summary
Modifier and TypeMethodDescriptionvoid
assign
(Vector3D_F64 l1, Vector3D_F64 l2) Sets p1 and p2 to reference the passed in objects.setTo
(PairLineNorm src) void
setTo
(Vector3D_F64 l1, Vector3D_F64 l2) Sets the value of p1 and p2 to be equal to the values of the passed in objectsvoid
zero()
-
Field Details
-
l1
Location of the feature in the first image -
l2
Location of the feature in the second image.
-
-
Constructor Details
-
PairLineNorm
public PairLineNorm() -
PairLineNorm
Creates a new instance by copying the values of the two lines.- Parameters:
l1
- image 1 locationl2
- image 2 location
-
PairLineNorm
Creates a new instance by either copying or saving a reference to the two lines- Parameters:
l1
- image 1 locationl2
- image 2 locationnewInstance
- Should it create new lines or save a reference to these instances.
-
-
Method Details
-
setTo
Sets the value of p1 and p2 to be equal to the values of the passed in objects -
setTo
-
zero
public void zero() -
assign
Sets p1 and p2 to reference the passed in objects.
-