boofcv.struct.geo
Class PairLineNorm
- java.lang.Object
-
- boofcv.struct.geo.PairLineNorm
-
public class PairLineNorm extends java.lang.ObjectA 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
Fields Modifier and Type Field and Description Vector3D_F64l1Location of the feature in the first imageVector3D_F64l2Location of the feature in the second image.
-
Constructor Summary
Constructors Constructor and Description PairLineNorm()PairLineNorm(boolean declare)Constructor which allows the lines to not be declared.PairLineNorm(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
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidassign(Vector3D_F64 l1, Vector3D_F64 l2)Sets p1 and p2 to reference the passed in objects.Vector3D_F64getL1()Vector3D_F64getL2()voidset(Vector3D_F64 l1, Vector3D_F64 l2)Sets the value of p1 and p2 to be equal to the values of the passed in objectsvoidsetL1(Vector3D_F64 l1)voidsetL2(Vector3D_F64 l2)
-
-
-
Field Detail
-
l1
public Vector3D_F64 l1
Location of the feature in the first image
-
l2
public Vector3D_F64 l2
Location of the feature in the second image.
-
-
Constructor Detail
-
PairLineNorm
public PairLineNorm()
-
PairLineNorm
public PairLineNorm(boolean declare)
Constructor which allows the lines to not be declared.- Parameters:
declare- If true then new lines will be declared
-
PairLineNorm
public PairLineNorm(Vector3D_F64 l1, Vector3D_F64 l2)
Creates a new instance by copying the values of the two lines.- Parameters:
l1- image 1 locationl2- image 2 location
-
PairLineNorm
public PairLineNorm(Vector3D_F64 l1, Vector3D_F64 l2, boolean newInstance)
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 Detail
-
set
public void set(Vector3D_F64 l1, Vector3D_F64 l2)
Sets the value of p1 and p2 to be equal to the values of the passed in objects
-
assign
public void assign(Vector3D_F64 l1, Vector3D_F64 l2)
Sets p1 and p2 to reference the passed in objects.
-
getL1
public Vector3D_F64 getL1()
-
setL1
public void setL1(Vector3D_F64 l1)
-
getL2
public Vector3D_F64 getL2()
-
setL2
public void setL2(Vector3D_F64 l2)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG